Fixed issue #1668.

This commit is contained in:
Бранимир Караџић 2019-02-27 09:20:37 -08:00
parent 1e8f6a4cf3
commit 0b921ea8e4
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ namespace entry
return false;
}
m_file = AAssetManager_open(m_assetManager, _filePath.get(), AASSET_MODE_RANDOM);
m_file = AAssetManager_open(m_assetManager, _filePath.getCPtr(), AASSET_MODE_RANDOM);
if (NULL == m_file)
{
BX_ERROR_SET(_err, BX_ERROR_READERWRITER_OPEN, "FileReader: Failed to open file.");