Pull Request Overview
- Opened on October 21, 2026
- Status Merged
- Commit count 4 with first commit October 21, 2026
Total Delta
Open Days
Test Delta
How long has this pull request spent in each phase of its lifecycle?
| Fraction of total time | Business days | Phase |
|---|---|---|
| N/A | 907.6 days | Issue creation to work beginning |
|
|
0.0 days | Authoring 1 commit before pull request opened for review |
|
|
0.0 days | Awaiting first review |
|
|
1.3 days | Revising work with 3 commits in response to 5 reviews that left 13 comments |
| Set up deploy tracking to begin tracking full PR start-to-deploy times | ||
Total time for pull request
1.3 business days
from first commit authored to merge
Deploy tracking has not been set up
cellSaveData: Only cap fileNum and sizeKB for SDK 2.6 and older or fileListMax 0
Analysis, hwtest and fixes made by Opus 5.5. Tested by me.
(confirmed) Fixes #13792
Bug: Madagascar: Escape 2 Africa (#13792) reports its save as broken because its funcStat rejects the save when fileListNum < fileNum. When a save has more files than fileListMax, RPCS3 reports every file in fileNum and sizeKB but caps fileListNum. A PS3 also caps fileNum and sizeKB for games built with SDK 0x26FFFF or older (the game uses 0x230001). With fileListMax 0 it counts no file on any SDK. From SDK 0x270000 onward with fileListMax β₯ 1 it counts every file, as upstream does.
Fix: Before the existing loop, cut the sorted file list to fileListMax when sdk_ver <= 0x26FFFF or fileListMax is 0 (+6/β0, the loop is unchanged).
Results (hwtest, save with 3 files, fileNum / fileListNum / sizeKB):
ββββββββββββββ¬ββββββββββββββ¬ββββββββββββββββββββββββββββ¬βββββββββββββ¬βββββββββββββ
β SDK β fileListMax β upstream β this PR β PS3 β
ββββββββββββββΌββββββββββββββΌββββββββββββββββββββββββββββΌβββββββββββββΌβββββββββββββ€
β β€ 0x26FFFF β 0 β 3 / 0 / 53* β 0 / 0 / 35 β 0 / 0 / 35 β
ββββββββββββββΌββββββββββββββΌββββββββββββββββββββββββββββΌβββββββββββββΌβββββββββββββ€
β β€ 0x26FFFF β 1 β 3 / 1 / 53 (game: BROKEN) β 1 / 1 / 49 β 1 / 1 / 49 β
ββββββββββββββΌββββββββββββββΌββββββββββββββββββββββββββββΌβββββββββββββΌβββββββββββββ€
β β₯ 0x270000 β 0 β 3 / 0 / 53* β 0 / 0 / 35 β 0 / 0 / 35 β
ββββββββββββββΌββββββββββββββΌββββββββββββββββββββββββββββΌβββββββββββββΌβββββββββββββ€
β β₯ 0x270000 β 1 β 3 / 1 / 53* β 3 / 1 / 53 β 3 / 1 / 53 β
ββββββββββββββΌββββββββββββββΌββββββββββββββββββββββββββββΌβββββββββββββΌβββββββββββββ€
β any β 8 β 3 / 3 / 53 β 3 / 3 / 53 β 3 / 3 / 53 β
ββββββββββββββ΄ββββββββββββββ΄ββββββββββββββββββββββββββββ΄βββββββββββββ΄βββββββββββββ
From the code, not run on upstream.
The SDK threshold was narrowed down on the PS3 with probes from 0x00230001 to 0x00470001, including 0x0025FFFFβ0x00270000.
The same values hold for all 11 funcStat functions tested and for 3 file mixes.
fileListMax decides, not bufSize.
The output of this PR is identical to the PS3 output in every test. Madagascar 2 shows "Continue" again and loads its save.
Quick summary
Hello developers good afternoon.
I noticed that the game Madagascar 2 simply does not save progress, the game does not save either at the beginning or as the game progresses, the game does not save any time, the other games that I play in the emulator are all normal, only this one has a problem. Could it be some bug going on? Thanks in advance.
Details
No response
Attach a log file
Attach capture files for visual issues
No response
System configuration
RPCS3 v0.0.27-14954-0524f4a5 Alpha | master | FW 4.90 | Windows 11 22H2 Genuine Intel 0000 | 16 Threads | 31.85 GiB RAM | AVX-512+ | FMA3 GPU: NVIDIA GeForce GTX 750 Ti (531.68)
Other details
No response
Resolved Comment Threads