mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sms, fix pause button (cz80 nmi)
This commit is contained in:
parent
b0e445ef0c
commit
02e2ce3316
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ extern struct DrZ80 drZ80;
|
||||||
#define z80_run_nr(cycles) Cz80_Exec(&CZ80, cycles)
|
#define z80_run_nr(cycles) Cz80_Exec(&CZ80, cycles)
|
||||||
#define z80_int() Cz80_Set_IRQ(&CZ80, 0, HOLD_LINE)
|
#define z80_int() Cz80_Set_IRQ(&CZ80, 0, HOLD_LINE)
|
||||||
#define z80_int_assert(a) Cz80_Set_IRQ(&CZ80, 0, (a) ? ASSERT_LINE : CLEAR_LINE)
|
#define z80_int_assert(a) Cz80_Set_IRQ(&CZ80, 0, (a) ? ASSERT_LINE : CLEAR_LINE)
|
||||||
#define z80_nmi() Cz80_Set_IRQ(&CZ80, IRQ_LINE_NMI, 0)
|
#define z80_nmi() Cz80_Set_IRQ(&CZ80, IRQ_LINE_NMI, ASSERT_LINE)
|
||||||
|
|
||||||
#define z80_cyclesLeft (CZ80.ICount - CZ80.ExtraCycles)
|
#define z80_cyclesLeft (CZ80.ICount - CZ80.ExtraCycles)
|
||||||
#define z80_subCLeft(c) CZ80.ICount -= c
|
#define z80_subCLeft(c) CZ80.ICount -= c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue