mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
A legacy upload to a slot files its save under the channel of that name, found on the game's sync file when no earlier upload links the slot. A snapshot client keys a game's channels to that file and its saves carry no slot, so once a file added to the game becomes the sync file (a cue beside a chd), the next upload to autosave made a second, empty default channel on the new file instead of joining the player's. When the sync file holds no channel of that name, the slot now takes the game's own channel of that name on another of its files still on disk, before making one on the sync file. The sync file's channel still comes first, and a channel on a file the game no longer holds, or on another game's copy of the file, is not taken. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>