diff options
author | 2010-12-31 21:42:55 +0000 | |
---|---|---|
committer | 2010-12-31 21:42:55 +0000 | |
commit | 3b41606ca0c02056604a55a7b1f5165e80bc11fb (patch) | |
tree | 415d338c92efb4c7f1d4922255060f279d1d4fa2 /src/emu/cpu/sharc/sharc.c | |
parent | 2ca38fad3e665d2e4e0212263a07819d36f4ba7f (diff) |
running_device -> device_t
They both already existed. No sense in having two names for the
same object type.
Diffstat (limited to 'src/emu/cpu/sharc/sharc.c')
-rw-r--r-- | src/emu/cpu/sharc/sharc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/sharc/sharc.c b/src/emu/cpu/sharc/sharc.c index 1255795b255..757b1206ac1 100644 --- a/src/emu/cpu/sharc/sharc.c +++ b/src/emu/cpu/sharc/sharc.c @@ -184,7 +184,7 @@ static void (* sharc_op[512])(SHARC_REGS *cpustate); ((UINT64)(cpustate->internal_ram[((pc-0x20000) * 3) + 1]) << 16) | \ ((UINT64)(cpustate->internal_ram[((pc-0x20000) * 3) + 2]) << 0) -INLINE SHARC_REGS *get_safe_token(running_device *device) +INLINE SHARC_REGS *get_safe_token(device_t *device) { assert(device != NULL); assert(device->type() == ADSP21062); @@ -369,7 +369,7 @@ static void build_opcode_table(void) /*****************************************************************************/ -void sharc_external_iop_write(running_device *device, UINT32 address, UINT32 data) +void sharc_external_iop_write(device_t *device, UINT32 address, UINT32 data) { SHARC_REGS *cpustate = get_safe_token(device); if (address == 0x1c) @@ -386,7 +386,7 @@ void sharc_external_iop_write(running_device *device, UINT32 address, UINT32 dat } } -void sharc_external_dma_write(running_device *device, UINT32 address, UINT64 data) +void sharc_external_dma_write(device_t *device, UINT32 address, UINT64 data) { SHARC_REGS *cpustate = get_safe_token(device); switch ((cpustate->dma[6].control >> 6) & 0x3) @@ -606,7 +606,7 @@ static void sharc_set_irq_line(SHARC_REGS *cpustate, int irqline, int state) } } -void sharc_set_flag_input(running_device *device, int flag_num, int state) +void sharc_set_flag_input(device_t *device, int flag_num, int state) { SHARC_REGS *cpustate = get_safe_token(device); if (flag_num >= 0 && flag_num < 4) |