Files
romm/backend/models
Zach Clendenen 261178cb25 fix(streaming): share RetroArch stream saves and states with Cloud Sync (#5197)
A streamed RetroArch exit's save landed in "No slot", and the stream's
states were filed under a different emulator than the one Cloud Sync and
the other RetroArch clients use, so neither side could see the other's.

A streamed exit's save is now stored as an `autosave` version, like the
other clients' autosaves. Stream saves and states are filed under the
core's RetroArch folder, which the broker reports as `library_name`; a
broker that doesn't is filed under the core id. A stream resumes from any
state in the booted core's folder, including other clients' states and
ones filed under an alias of the folder, and the picker's core rule gains
the folder's names so it offers them too.

Cloud Sync shares the slot with stream captures but never writes over or
deletes one: an upload goes to the slot's newest non-capture state or
creates one, sending a capture's own bytes back is a no-op, and a delete
removes the slot's other states and leaves captures in place.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 15:50:39 -04:00
..
2026-07-23 14:44:56 -04:00
2026-03-14 23:35:04 -04:00