notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02e2ce3
)
sms, no nmi generation for start button on gg
author
kub
<derkub@gmail.com>
Fri, 12 Nov 2021 18:43:02 +0000
(19:43 +0100)
committer
kub
<derkub@gmail.com>
Fri, 12 Nov 2021 18:43:02 +0000
(19:43 +0100)
pico/sms.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/sms.c
b/pico/sms.c
index
ab8a6f0
..
b8cc36b
100644
(file)
--- a/
pico/sms.c
+++ b/
pico/sms.c
@@
-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;