mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-22 10:49:05 +02:00
Show a tiny indicator in the top left of the screen when the game is saving or loading.
This commit is contained in:
1 parent
028392233c
commit
f410b7e6ea
8 files changed
+65
-24
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user