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:
Henrik RydgårdandClaude Opus 5.5 committed 2026-09-23 19:25:24 -06:00
1 parent 20970d5fad
commit 74c5cbf503
2 files changed
+2 -4

No files matched your search

+1 -3
View File
@@ -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;