Linux: Look for assets directory in /usr/share/ppsspp/.

This commit is contained in:
Bartłomiej Piotrowski 2014-08-05 11:04:34 +02:00
parent 404766ce33
commit 39d03cff1b

View File

@ -275,6 +275,7 @@ void NativeInit(int argc, const char *argv[],
#elif defined(__APPLE__) || (defined(__linux__) && !defined(ANDROID))
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory() + "assets/").c_str()));
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory()).c_str()));
VFSRegister("", new DirectoryAssetReader("/usr/share/ppsspp/assets/"));
#else
VFSRegister("", new DirectoryAssetReader("assets/"));
#endif