mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Fix multiple issues preventing in-game saves from working.
This commit is contained in:
1 parent
2f04fc1c00
commit
e73e0dc0be
5 files changed
+83
-29
No files matched your search
@@ -208,12 +208,12 @@ void SavedataParam::Init()
|
||||
pspFileSystem.MkDir(savePath);
|
||||
}
|
||||
// Create a nomedia file to hide save icons form Android image viewer
|
||||
#ifdef __ANDROID__
|
||||
#if PPSSPP_PLATFORM(ANDROID)
|
||||
int handle = pspFileSystem.OpenFile(savePath + ".nomedia", (FileAccess)(FILEACCESS_CREATE | FILEACCESS_WRITE), 0);
|
||||
if (handle >= 0) {
|
||||
pspFileSystem.CloseFile(handle);
|
||||
} else {
|
||||
ERROR_LOG(IO, "Failed to create .nomedia file");
|
||||
INFO_LOG(IO, "Failed to create .nomedia file (might be ok if it already exists)");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user