Dolphin sizes its custom asset cache from MemPhysical(), whose FreeBSD branch
gives the PS5 no usable size, so the budget was 0 and every texture of a pack
was unloaded as soon as it loaded (issue 5: "Not enough system memory for
custom resources"). On __PROSPERO__ the cache now gets a fixed 512 MiB, a
share of the title's own memory (about 870 MB flexible memory free in play).
CustomAssetCache is MemPhysical's only user.
Evidence (python3 tools/evidence.py compare evidence/: 146 replayed, 0 failed):
- evidence/dolphin-texture-budget-before: build a2c7800a: the error at start.
- evidence/dolphin-texture-budget: build 191ff52c, Load Custom Textures on and
the owner's pack in place, tests/pad/dolphin-texture-pack.txt: no error, no
asset unloaded, the game to the script's STOP at about 60 frames a second.
Whether the pack's pictures show is the owner's check on the screen; Dolphin
does not log it at this level.
Co-Authored-By: Claude <noreply@anthropic.com>