Show a tiny indicator in the top left of the screen when the game is saving or loading.

This commit is contained in:
Henrik Rydgård committed 2025-07-10 15:11:59 +02:00
1 parent 028392233c
commit f410b7e6ea
8 files changed
+65 -24

No files matched your search

+2 -3
View File
@@ -58,8 +58,7 @@ namespace
void SetStringFromSFO(ParamSFOData &sfoFile, const char *name, char *str, int strLength)
{
std::string value = sfoFile.GetValueString(name);
truncate_cpy(str, strLength, value.c_str());
truncate_cpy(str, strLength, sfoFile.GetValueString(name));
}
bool ReadPSPFile(const std::string &filename, u8 **data, s64 dataSize, s64 *readSize)
@@ -79,7 +78,7 @@ namespace
size_t result = pspFileSystem.ReadFile(handle, *data, dataSize);
pspFileSystem.CloseFile(handle);
if(readSize)
if (readSize)
*readSize = result;
return result != 0;