diff --git a/backend/config/config_manager.py b/backend/config/config_manager.py index c0c232f3d..e481e1ba5 100644 --- a/backend/config/config_manager.py +++ b/backend/config/config_manager.py @@ -447,8 +447,6 @@ class StreamingContainer(TypedDict): memory_card_sync: NotRequired[bool] # Whether this broker empties the save tree before restoring an archive, # which is what lets the launch screen offer a save other than the newest. - # Defaults to what the emulator is known to do; set it when running a fork - # or a broker newer than this RomM. clears_stale_saves: NotRequired[bool] # Broker dialect. Omitted (or "broker") is the per-emulator mod contract; # "webstation" is the LSIO webstation container's activate/exit contract. diff --git a/backend/handler/streaming/capabilities.py b/backend/handler/streaming/capabilities.py index 41738d7e1..b55af2556 100644 --- a/backend/handler/streaming/capabilities.py +++ b/backend/handler/streaming/capabilities.py @@ -165,11 +165,9 @@ _DISC_SWAP_PLATFORMS = frozenset({"dc", "saturn", "segacd", "turbografx-cd", "do # own UI. The frontend shows this as a static hint, not a control. _MANUAL_DISC_SWAP_PLATFORMS = frozenset({"ps2"}) -# Emulators whose broker empties the save tree before restoring an archive (the -# webstation broker's `clears_stale_saves`), so an older pick still lands. That -# flag lives in the broker's repo, so this is the default a container starts -# from, not the authority: `clears_stale_saves` in config.yml overrides it for -# an operator on a fork or a newer broker. +# Emulators whose broker empties the save tree before restoring an archive, so +# an older pick still lands. The flag lives in the broker's repo, so this is +# only the default: `clears_stale_saves` in config.yml overrides it. _SAVE_PICKER_EMULATORS = frozenset( {"eden", "retroarch", "rpcs3", "shadps4", "xemu", "xenia"} ) diff --git a/backend/handler/streaming/config.py b/backend/handler/streaming/config.py index 7ed7f47ba..db47f958f 100644 --- a/backend/handler/streaming/config.py +++ b/backend/handler/streaming/config.py @@ -153,9 +153,8 @@ class ResolvedContainer: memory_card_sync: bool """Whole-card sync, already checked against the platform having a card.""" clears_stale_saves: bool - """Whether this container's broker empties the save tree before restoring - an archive, which is what lets a pick older than the container's own files - land. Defaults to what the emulator is known to do.""" + """Whether the broker empties the save tree before restoring, which is what + lets a pick older than the container's own files land.""" broker_secret: str library_path: str """Where the container sees the ROM library, when it differs from RomM's.""" diff --git a/frontend/src/v2/views/Player/Stream.vue b/frontend/src/v2/views/Player/Stream.vue index 43400bdf5..999d8db04 100644 --- a/frontend/src/v2/views/Player/Stream.vue +++ b/frontend/src/v2/views/Player/Stream.vue @@ -293,9 +293,8 @@ const showManualDiscHint = computed( const selectedState = ref(null); // Only an archive carries a layout the broker can restore from. Re-sorted on -// created_at because user_saves arrives on updated_at, which a rehash moves. -// The rows show created_at too, so the tile that reads newest is the one a -// claim restores by default. +// created_at because user_saves arrives on updated_at, which a rehash moves; +// the rows are dated on created_at to match. const restorableSaves = computed(() => { const emulator = container.value?.emulator?.toLowerCase(); if (!rom.value || !emulator) return [];