Skip to content

Commit

Permalink
Fix Apple Town Story (FDS) crash
Browse files Browse the repository at this point in the history
Fix TASEmulators#487

fceumm and mednafen-nes has similar placement for SIRQStat
  • Loading branch information
negativeExponent committed Jun 5, 2022
1 parent 78af608 commit 02414cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sound.cpp
Expand Up @@ -534,9 +534,10 @@ static INLINE void DMCDMA(void)
PrepDPCM();
else
{
SIRQStat|=0x80;
if(DMCFormat&0x80)
if(DMCFormat&0x80) {
SIRQStat|=0x80;
X6502_IRQBegin(FCEU_IQDPCM);
}
}
}
}
Expand Down

0 comments on commit 02414cf

Please sign in to comment.