Skip to content

Memory cards stay on disk after a state is loaded - #141

Merged
boubou666 merged 1 commit into
masterfrom
claude/cards-stay-on-disk
Nov 24, 2026
Merged

boubou666 merged 1 commit into
masterfrom
claude/cards-stay-on-disk

Conversation

@boubou666

Copy link
Copy Markdown
Contributor

A loaded save state restored the memory cards' contents but not their host folder (not part of the state), so in-game saves made after loading a state were kept only in memory and lost at exit (found in TLOTR TTA: a save made after F7 never reached the card folder).

With a host folder (a played game), loading a state now re-reads each card from its folder and keeps it bound there, as a real memory card lives outside the console (PCSX2 does not keep cards in states either). Without a host folder (tests, scripted runs) the state's cards are kept exactly as saved, so deterministic runs are unchanged.

Checked in TTA: load a state, save in game, the save is written to the card folder.

🤖 Generated with Claude Code

A loaded state brought the cards' contents back but not their host folder (it
is not saved), so every in-game save made after loading a state stayed in
memory and was lost at exit. With a host folder (a played game), loading a
state now reads the cards again from their folders and keeps them bound, as a
real memory card lives outside the console. Without one (tests, scripted
runs) the state's cards are kept as saved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@boubou666
boubou666 merged commit 290e689 into master Nov 24, 2026
4 checks passed
@boubou666
boubou666 deleted the claude/cards-stay-on-disk branch November 24, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant