mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
The save picker was gated on a hardcoded set of emulators mirroring the webstation broker's `clears_stale_saves`, a value that lives in another repo. A broker release that turns it on for a new emulator needed a RomM code change before the picker appeared, and an operator on a fork or a newer broker could not turn it on at all. The other direction was worse because it was silent: if the broker stopped clearing, the pick still validated, the archive still uploaded, and the container's own newer files overwrote it with no error anywhere. `clears_stale_saves` now joins `memory_card_sync` in PLATFORM_OVERRIDE_KEYS, resolved per container in `_resolve_one`, which leaves the emulator table as the default rather than the authority. It also joins the pool-interchangeability check, since the picker is advertised from the head of the pool and a member that keeps its own files would take the pick and discard it.