mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
Savedata: Leave GetSize's needed strings alone when nothing is needed
Matches hardware; moves utility/savedata/getsize to tests_good. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
20970d5fad
commit
74c5cbf503
2 files changed
+2
-4
No files matched your search
@@ -1450,9 +1450,7 @@ bool SavedataParam::GetSize(SceUtilitySavedataParam *param) {
|
||||
// Note: this is "needed to overwrite".
|
||||
param->sizeInfo->overwriteKB = 0;
|
||||
|
||||
spaceTxt = GetSpaceText(0, true);
|
||||
truncate_cpy(param->sizeInfo->neededString, spaceTxt);
|
||||
truncate_cpy(param->sizeInfo->overwriteString, spaceTxt);
|
||||
// The strings are left alone when nothing is needed (tests/utility/savedata/getsize).
|
||||
} else {
|
||||
// Bytes needed to save additional data.
|
||||
s64 neededBytes = writeBytes - freeBytes;
|
||||
|
||||
Reference in new issue
Block a user