diff options
author | 2014-04-29 07:30:32 +0000 | |
---|---|---|
committer | 2014-04-29 07:30:32 +0000 | |
commit | 2aca171f266c6794eac8a5c22687304c52d866c7 (patch) | |
tree | d42eceb4e76d84e31f02880fb6a526c3294ed304 /src/emu/devcpu.h | |
parent | 181f87e14242ed6d845e780924ef0bec457d583d (diff) |
removed usage of legacy IRQ callback (nw)
Diffstat (limited to 'src/emu/devcpu.h')
-rw-r--r-- | src/emu/devcpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/devcpu.h b/src/emu/devcpu.h index 539d5c8fbd5..aad853037dc 100644 --- a/src/emu/devcpu.h +++ b/src/emu/devcpu.h @@ -211,7 +211,7 @@ const device_type name = &legacy_device_creator<basename##_device> #define CPU_SET_INFO_CALL(name) CPU_SET_INFO_NAME(name)(device, state, info) #define CPU_INIT_NAME(name) cpu_init_##name -#define CPU_INIT(name) void CPU_INIT_NAME(name)(legacy_cpu_device *device, device_irq_acknowledge_callback irqcallback) +#define CPU_INIT(name) void CPU_INIT_NAME(name)(legacy_cpu_device *device, device_irq_acknowledge_delegate irqcallback) #define CPU_INIT_CALL(name) CPU_INIT_NAME(name)(device, irqcallback) #define CPU_RESET_NAME(name) cpu_reset_##name @@ -297,7 +297,7 @@ class legacy_cpu_device; // CPU interface functions typedef void (*cpu_get_info_func)(legacy_cpu_device *device, UINT32 state, cpuinfo *info); typedef void (*cpu_set_info_func)(legacy_cpu_device *device, UINT32 state, cpuinfo *info); -typedef void (*cpu_init_func)(legacy_cpu_device *device, device_irq_acknowledge_callback irqcallback); +typedef void (*cpu_init_func)(legacy_cpu_device *device, device_irq_acknowledge_delegate irqcallback); typedef void (*cpu_reset_func)(legacy_cpu_device *device); typedef void (*cpu_exit_func)(legacy_cpu_device *device); typedef void (*cpu_execute_func)(legacy_cpu_device *device); |