Ver Fonte

Fixed issue #1668.

Бранимир Караџић há 6 anos atrás
pai
commit
0b921ea8e4
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      examples/common/entry/entry_android.cpp

+ 1 - 1
examples/common/entry/entry_android.cpp

@@ -116,7 +116,7 @@ namespace entry
 				return false;
 				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)
 			if (NULL == m_file)
 			{
 			{
 				BX_ERROR_SET(_err, BX_ERROR_READERWRITER_OPEN, "FileReader: Failed to open file.");
 				BX_ERROR_SET(_err, BX_ERROR_READERWRITER_OPEN, "FileReader: Failed to open file.");