summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devcpu.h
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2013-08-20 12:33:35 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2013-08-20 12:33:35 +0000
commit598064216942c3debf51d2fed1ed66abdad367ca (patch)
tree218bf9077d2de6268ad159514ab6b6f36f64b109 /src/emu/devcpu.h
parent9a0bce9f9182f7382379ce1086205860660e695e (diff)
added MCFG_{CPU|DEVICE}_VBLANK_INT_REMOVE and MCFG_{CPU|DEVICE}_PERIODIC_INT_REMOVE to properly remove non-legacy VBLANK interrupts - the current code only reset the legacy interrupt which wasn't set anyways
Diffstat (limited to 'src/emu/devcpu.h')
-rw-r--r--src/emu/devcpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/devcpu.h b/src/emu/devcpu.h
index d361127bb40..fd15e54d485 100644
--- a/src/emu/devcpu.h
+++ b/src/emu/devcpu.h
@@ -189,12 +189,16 @@ enum
#define MCFG_CPU_DATA_MAP MCFG_DEVICE_DATA_MAP
#define MCFG_CPU_IO_MAP MCFG_DEVICE_IO_MAP
+// legacy
#define MCFG_CPU_VBLANK_INT MCFG_DEVICE_VBLANK_INT
#define MCFG_CPU_PERIODIC_INT MCFG_DEVICE_PERIODIC_INT
#define MCFG_CPU_VBLANK_INT_DRIVER MCFG_DEVICE_VBLANK_INT_DRIVER
#define MCFG_CPU_PERIODIC_INT_DRIVER MCFG_DEVICE_PERIODIC_INT_DRIVER
+#define MCFG_CPU_VBLANK_INT_REMOVE MCFG_DEVICE_VBLANK_INT_REMOVE
+#define MCFG_CPU_PERIODIC_INT_REMOVE MCFG_DEVICE_PERIODIC_INT_REMOVE
+
//**************************************************************************
// MACROS