mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sms, no nmi generation for start button on gg
This commit is contained in:
parent
02e2ce3316
commit
d5908845f5
1 changed files with 2 additions and 1 deletions
|
@ -678,8 +678,9 @@ void PicoFrameMS(void)
|
|||
z80_resetCycles();
|
||||
PsndStartFrame();
|
||||
|
||||
// for SMS the pause button generates an NMI, for GG ths is not the case
|
||||
nmi = (PicoIn.pad[0] >> 7) & 1;
|
||||
if (!Pico.ms.nmi_state && nmi)
|
||||
if (!(Pico.m.hardware & 0x1) && !Pico.ms.nmi_state && nmi)
|
||||
z80_nmi();
|
||||
Pico.ms.nmi_state = nmi;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue