mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 08:33:12 -05:00
The PS5 references count save data differently from the PS4: SharpEmu uses a 64 KiB block, and SharpEmu and KytyPS5 allow 48 to 16384 blocks per save, which at 64 KiB a block is 3 MiB to 1 GiB, the PS4's byte range. The module used the PS4 values, 32 KiB blocks and a 32768-block maximum. At 64 KiB a block, sceSaveDataDirNameSearch and sceSaveDataGetMountInfo therefore counted up to twice the blocks a save's files use, and a save without a recorded size reported 32768 blocks, which is 2 GiB. The search test now expects 64 KiB blocks and the 16384 maximum, and the block accounting gets its own technical debt entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>