Fix API usage

This commit is contained in:
Phillip Stephens 2016-02-20 00:35:00 -08:00
parent 8af98fb2f3
commit 19e7dc6b63
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ public:
++bridgeIdx; ++bridgeIdx;
} }
HECL::SystemString catalogPath = m_gameCooked.getAbsolutePath() + _S("/catalog.yaml"); HECL::SystemString catalogPath = HECL::ProjectPath(m_gameCooked, "catalog.yaml").getAbsolutePath();
FILE* catalog = HECL::Fopen(catalogPath.c_str(), _S("wb")); FILE* catalog = HECL::Fopen(catalogPath.c_str(), _S("wb"));
if (catalog) if (catalog)
{ {