Core: Bring over some file related Switch changes.

Reducing the distance from the Switch port code.
This commit is contained in:
Unknown W. Brackets committed 2020-03-03 22:53:03 -08:00
1 parent 051a84e9bd
commit cb1b7b1e43
10 files changed
+40 -13

No files matched your search

+1 -1
View File
@@ -459,7 +459,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
VFSRegister("", new DirectoryAssetReader("/usr/share/ppsspp/assets/"));
#endif
#if PPSSPP_PLATFORM(SWITCH)
std::string assetPath = savegame_dir + "assets/";
std::string assetPath = user_data_path + "assets/";
VFSRegister("", new DirectoryAssetReader(assetPath.c_str()));
#else
VFSRegister("", new DirectoryAssetReader("assets/"));