mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-31 19:47:06 +01:00
Pruning now only runs when the config was really read: when the memory stick isn't reachable at startup (an unmounted SD card, or right after boot), NativeInit falls back to defaults and the recent list is empty, so every recent game's grant looked unused and was released. Grants for the memory stick, the Games tab folder and pinned folders are re-taken at every startup. That moves their persisted time up, so they're the last the system drops if we ever reach its limit. The new time is written out with the next grant change, which is also the only time the system prunes. Home screen shortcuts can't be enumerated, so the 64 most recently created or launched are remembered in a new [Shortcuts] section of ppsspp.ini, and their grants are kept. ShortcutActivity runs without the config loaded, so it queues them in SharedPreferences until the next startup saves them. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>