From 2c1ca2c179bbcb18e6e6c1413f0c6d3fdd3aa752 Mon Sep 17 00:00:00 2001 From: NewRisingSun <8vytz1+dhp372pv94ebg@sharklasers.com> Date: Thu, 18 Sep 2025 11:05:33 +0200 Subject: [PATCH] Power on with frame IRQ disabled. This already matches the behavior of some famiclones, increases compatibility with several known titles, while any game that makes use of Frame IRQ explicitly enables it anyway. --- src/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound.c b/src/sound.c index dbf1c8a..49efcc4 100644 --- a/src/sound.c +++ b/src/sound.c @@ -1070,7 +1070,7 @@ void FCEUSND_Power(void) { for (x = 0; x < 5; x++) ChannelBC[x] = 0; soundtsoffs = 0; - IRQFrameMode = 0x0; /* Only initialized by power-on reset, not by soft reset */ + IRQFrameMode = 0x1; /* Only initialized by power-on reset, not by soft reset. NRS: don't start with Frame IRQ enabled for greater compatibility. Any game that actually uses frame IRQ will explicitly enable it, anyway. */ LoadDMCPeriod(DMCFormat & 0xF); }