diff options
author | 2010-06-17 03:33:24 +0000 | |
---|---|---|
committer | 2010-06-17 03:33:24 +0000 | |
commit | b8f916e17ed8d232a0a340d04e22512ae1f9c923 (patch) | |
tree | b9ef803c2525a66a70c64a4e60b8ca1b854a5ea6 /src/emu/cpu/h6280 | |
parent | d4775b8e562be8fcc86d6737d72ec8a1ff622440 (diff) |
Change cpu_device into a base class. Rename old cpu_device to legacy_cpu_device.
Update interfaces as appropriate.
Diffstat (limited to 'src/emu/cpu/h6280')
-rw-r--r-- | src/emu/cpu/h6280/h6280.c | 2 | ||||
-rw-r--r-- | src/emu/cpu/h6280/h6280.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/h6280/h6280.c b/src/emu/cpu/h6280/h6280.c index 2df7d213f32..60e154a61fd 100644 --- a/src/emu/cpu/h6280/h6280.c +++ b/src/emu/cpu/h6280/h6280.c @@ -122,7 +122,7 @@ INLINE h6280_Regs *get_safe_token(running_device *device) assert(device != NULL); assert(device->type() == CPU); assert(cpu_get_type(device) == CPU_H6280); - return (h6280_Regs *)downcast<cpu_device *>(device)->token(); + return (h6280_Regs *)downcast<legacy_cpu_device *>(device)->token(); } /* include the opcode macros, functions and function pointer tables */ diff --git a/src/emu/cpu/h6280/h6280.h b/src/emu/cpu/h6280/h6280.h index 0d6b5416707..991e19354fd 100644 --- a/src/emu/cpu/h6280/h6280.h +++ b/src/emu/cpu/h6280/h6280.h @@ -61,7 +61,7 @@ typedef struct UINT8 irq_state[3]; UINT8 irq_pending; device_irq_callback irq_callback; - cpu_device *device; + legacy_cpu_device *device; const address_space *program; const address_space *io; |