android recursive mutex fix, android file path resolver fix

This commit is contained in:
2019-01-28 00:27:56 +01:00
parent 99c06803ae
commit 53fd2d60b5
6 changed files with 617 additions and 17 deletions

View File

@@ -130,7 +130,7 @@ std::string Asset::absolute(const std::string& path)
bool Asset::is_asset(const std::string & path)
{
return path.find("data/") != std::string::npos;
return path.substr(0, 5) == "data/";
}
bool Asset::open(const char* path)