mirror of
https://github.com/rommapp/romm.git
synced 2026-12-03 18:43:23 +01:00
The browser held saves the server would not take; it now holds states the same way, and each capture is named after the moment it was taken so a retry updates that row rather than leaving a second copy of the same moment. An asset the server refuses for good is dropped rather than retried for the rest of time, and the player is told which game and why. Loading a state no longer mints a save. The tracker's baseline was read from the emulator's filesystem without dumping the core first, so it held the SRAM from before the restore and the next settled tick uploaded the state's SRAM as progress the player never made. Every state load re-baselines now, the picker and quick load included. Also in the player: - The screen and the sound stay held back until a loaded state has landed, instead of showing a second of the fresh boot. - Notices go through RomM's own toast host, so two landing together stack rather than overwrite each other, and EmulatorJS' own notices join them. - A capture is taken one at a time and gives up after 3s: EmulatorJS deletes the file the previous capture is still waiting on, and waits by polling forever, which wedged the save sync for the rest of the session. - The emulator is torn down once. The player and the shell around it both asked, and the second pass threw ErrnoError(28) and aborted the runtime. - A capture's id no longer needs `crypto.randomUUID`, which does not exist outside a secure context (RomM over plain http on a LAN address). And around it: - The connection notice moves to the player's corner while a game runs, says its piece and shrinks to its icon, with the full message and the retry button back once the game is over. - The player's save and state pickers use the launch screen's own asset lists rather than a card of their own, which leaves that card unused. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QTsTgdoBinvvxzXeLUjBmV