Skip to content

Commit

Permalink
Fix DMC IRQ Enable status
Browse files Browse the repository at this point in the history
  • Loading branch information
negativeExponent committed Jun 2, 2022
1 parent d623a93 commit 05d689c
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 05d689c

Please sign in to comment.