summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/adsp2100/adsp2100.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-06-17 03:33:24 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-06-17 03:33:24 +0000
commitb8f916e17ed8d232a0a340d04e22512ae1f9c923 (patch)
treeb9ef803c2525a66a70c64a4e60b8ca1b854a5ea6 /src/emu/cpu/adsp2100/adsp2100.c
parentd4775b8e562be8fcc86d6737d72ec8a1ff622440 (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/adsp2100/adsp2100.c')
-rw-r--r--src/emu/cpu/adsp2100/adsp2100.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/adsp2100/adsp2100.c b/src/emu/cpu/adsp2100/adsp2100.c
index 80bcff65db5..73c04e6870b 100644
--- a/src/emu/cpu/adsp2100/adsp2100.c
+++ b/src/emu/cpu/adsp2100/adsp2100.c
@@ -242,7 +242,7 @@ typedef struct
UINT8 irq_state[9];
UINT8 irq_latch[9];
device_irq_callback irq_callback;
- cpu_device *device;
+ legacy_cpu_device *device;
/* other internal states */
int icount;
@@ -308,7 +308,7 @@ INLINE adsp2100_state *get_safe_token(running_device *device)
cpu_get_type(device) == CPU_ADSP2105 ||
cpu_get_type(device) == CPU_ADSP2115 ||
cpu_get_type(device) == CPU_ADSP2181);
- return (adsp2100_state *)downcast<cpu_device *>(device)->token();
+ return (adsp2100_state *)downcast<legacy_cpu_device *>(device)->token();
}
@@ -563,7 +563,7 @@ static void set_irq_line(adsp2100_state *adsp, int irqline, int state)
INITIALIZATION AND SHUTDOWN
***************************************************************************/
-static adsp2100_state *adsp21xx_init(cpu_device *device, device_irq_callback irqcallback, int chiptype)
+static adsp2100_state *adsp21xx_init(legacy_cpu_device *device, device_irq_callback irqcallback, int chiptype)
{
const adsp21xx_config *config = (const adsp21xx_config *)device->baseconfig().static_config();
adsp2100_state *adsp = get_safe_token(device);