Skip to content

Report completed saves correctly and clear abandoned restore scopes - #773

Merged
mstan merged 2 commits into
masterfrom
fix/snapshot-completion-restore-context-768
Oct 27, 2026
Merged

mstan merged 2 commits into
masterfrom
fix/snapshot-completion-restore-context-768

Conversation

@mstan

@mstan mstan commented Oct 26, 2026

Copy link
Copy Markdown
Member

The debug save-status response kept a separate pending flag after the canonical save request had completed, leaving checkpoint automation waiting indefinitely. Derive status from the canonical request. Snapshot restores also clear an abandoned dirty pump site after a longjmp skips its normal epilogue, so the next host checkpoint can proceed safely.

Publishes the two existing framework fixes from the accepted Silent Hill 1/2 and South Park checkpoint work, preserving their original commits via cherry-pick references. Repairs the resident test fixture's duplicate/missing symbols and keeps the save-status assertions enabled in Release builds.

Refs #768; this does not complete every title pin/promotion task. Tracking: beads-lqpv and beads-eio.3.414.

Validation: actual save-status/title-policy and interrupt/host-snapshot regressions pass on Windows and Linux. The combined Release runtime builds and all 16 selected CTest cases pass at dd9a4ad. Existing owner acceptance of Silent Hill 1/2 and South Park is retained, including their recorded presentation/gameplay caveats; no repeat owner playtest was launched.

@mstan
mstan merged commit c489f64 into master Oct 27, 2026
1 check passed
tetrisgm added a commit to tetrisgm/psxrecomp that referenced this pull request Oct 27, 2026
Backport the restore-context portion of upstream RetroPortingToolKit#773; R4 already tracks save completion with its own status field.

Co-Authored-By: GPT-6 <noreply@openai.com>
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