Skip to content

snesrecomp v0.4.4-alpha - bounded DSP capture

Pre-release
Pre-release

Choose a tag to compare

@mstan mstan released this 01 Nov 03:07
193db14

Fix diagnostic DSP audio capture after reset or a save-state load (#233, #234).

  • Prime the capture cursor before guest execution on a new state generation.
  • Preserve ordinary uint32 counter wrap and reject spans beyond the DSP ring.
  • Exclude speculative run-ahead frames. Fail capture runs on open, write or buffered flush errors, and reject an interrupted co-sim trace.
  • Include the corrected runtime sources in the self-contained CLI/SDK.

This recorder runs only when SNESRECOMP_DSPOUT is set. Ordinary audio playback does not enter it. Based on the standalone patch supplied by rages4calm.

Validation: bounded ROM-free tests exercise the actual recorder, including reset/load, counter wrap, overrun, speculation and output failures. Cursor tests pass with release assertions disabled globally. Linux, Windows and macOS CI checks pass; the packaged CLI smoke test passes. Title hotfixes retain their released engine revisions plus this fix.