Fix Apple Town Story (FDS) crash
Fix https://github.com/TASEmulators/fceux/issues/487 fceumm and mednafen-nes has similar placement for SIRQStat
This commit is contained in:
parent
2c85cc53c5
commit
14c215208e
|
@ -534,12 +534,13 @@ static INLINE void DMCDMA(void)
|
||||||
PrepDPCM();
|
PrepDPCM();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if(DMCFormat&0x80) {
|
||||||
SIRQStat|=0x80;
|
SIRQStat|=0x80;
|
||||||
if(DMCFormat&0x80)
|
|
||||||
X6502_IRQBegin(FCEU_IQDPCM);
|
X6502_IRQBegin(FCEU_IQDPCM);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FCEU_SoundCPUHook(int cycles)
|
void FCEU_SoundCPUHook(int cycles)
|
||||||
|
|
Loading…
Reference in New Issue