mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00: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) <[email protected]>
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;
|
||||
|
||||
@@ -423,6 +423,7 @@ tests_good = [
|
||||
"utility/msgdialog/abort",
|
||||
"utility/savedata/autosave",
|
||||
"utility/savedata/filelist",
|
||||
"utility/savedata/getsize",
|
||||
"utility/savedata/makedata",
|
||||
"utility/systemparam/systemparam",
|
||||
"umd/callbacks/umd",
|
||||
@@ -582,7 +583,6 @@ tests_next = [
|
||||
"umd/raw_access/raw_access",
|
||||
"umd/wait/wait",
|
||||
"utility/msgdialog/dialog",
|
||||
"utility/savedata/getsize",
|
||||
"utility/savedata/idlist",
|
||||
# These tests appear to be broken and just hang.
|
||||
#"utility/savedata/deletebroken",
|
||||
|
||||
Reference in new issue
Block a user