mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 18:25:35 -04:00
8b59da8202
Boot stays at authentic 1x. Speed switch fires once when the game's entry_pc is first dispatched — safely after the BIOS disc init and Sony/PlayStation logo sequences complete. Uses entry_pc exact-match rather than text range to avoid false-triggering on the BIOS shell (RAM 0x30000-0x5B000 overlaps the game text range). XA guard in apply_speed(): reverts to 1x whenever xa_stream_active, protecting FMV playback from speed-up regardless of disc_speed setting. CDROM_MIN_DELAY floor of 500 cycles prevents instant mode from firing IRQs faster than the interrupt handler can process them. Tomba game.toml: disc_speed = "4x" (instant proved too aggressive for early game disc reads; 4x safe with XA guard protecting FMVs). Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>