mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-24 05:49:58 +00:00
Merge pull request #9459 from duganchen/qt_assets_dir
Fix assets directory for non-mobile, non-Windows Qt builds
This commit is contained in:
commit
e43435ab2d
@ -320,7 +320,8 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
#elif defined(IOS)
|
||||
// Packed assets are included in app
|
||||
VFSRegister("", new DirectoryAssetReader(external_dir));
|
||||
#elif !defined(MOBILE_DEVICE) && !defined(_WIN32)
|
||||
#endif
|
||||
#if !defined(MOBILE_DEVICE) && !defined(_WIN32)
|
||||
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory() + "assets/").c_str()));
|
||||
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory()).c_str()));
|
||||
VFSRegister("", new DirectoryAssetReader("/usr/share/ppsspp/assets/"));
|
||||
|
Loading…
Reference in New Issue
Block a user