mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-28 02:56:36 -04:00
4e6208a6e6
Add two always-on counters (per the no-printf / ring-buffer rule) to diagnose the MMX5 intro-FMV stall: - cdrom.c: s_dataready_fires — CD INT1 (data-ready) raised per streamed sector, exposed via cdrom_get_dataready_fires(). - interrupts.c: g_cdrom_deliver_count — CD IRQ (IRQ_CDROM) exceptions actually taken by the guest. Both surfaced in the fmv_state debug command (cd_dataready_fires / cd_irq_delivered). These proved CD INT1 + CD-IRQ delivery are NOT the MMX5 FMV blocker (fires=627, delivered=746 during the movie while the STR ring still never commits a frame) — narrowing the bug to the CD-DMA-ch3-completion -> frame-commit path. Harmless observability; no behavior change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>