mirror of
https://github.com/rommapp/romm.git
synced 2026-12-06 07:54:18 +01:00
Picking a save on the v2 EmulatorJS launch screen never disarmed the auto-selected newest state, and the player loads a state in preference to a save, so the pick was ignored whenever any state existed. Selection rules now live in a pure module: a picked save disarms the state, a picked state keeps the bound save as the write-back target. Web saves now follow the sync clients' slot model. New saves go to the "autosave" slot (capped history) or the slot picked on the launch screen; a save that already has a slot keeps it; a legacy slot-less save stays as an archive and its progress moves to the picked slot. Each session opens one new version in the slot and updates it on later writes, so periodic sync does not churn the history. The launch screen gains a slot selector with an info tooltip, the save preview collapses to a compact row so the list gets the height, the pre-game screen fits the viewport on desktop with only the asset list scrolling, and the slot chip drops its redundant label. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>