From 3b41606ca0c02056604a55a7b1f5165e80bc11fb Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Fri, 31 Dec 2010 21:42:55 +0000 Subject: running_device -> device_t They both already existed. No sense in having two names for the same object type. --- src/emu/cpu/mcs48/mcs48.c | 6 +++--- src/emu/cpu/mcs48/mcs48.h | 4 ++-- src/emu/cpu/mcs48/mcs48dsm.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/emu/cpu/mcs48') diff --git a/src/emu/cpu/mcs48/mcs48.c b/src/emu/cpu/mcs48/mcs48.c index c272c887714..a32708a1bf9 100644 --- a/src/emu/cpu/mcs48/mcs48.c +++ b/src/emu/cpu/mcs48/mcs48.c @@ -218,7 +218,7 @@ static int check_irqs(mcs48_state *cpustate); INLINE FUNCTIONS ***************************************************************************/ -INLINE mcs48_state *get_safe_token(running_device *device) +INLINE mcs48_state *get_safe_token(device_t *device) { assert(device != NULL); assert(device->type() == I8021 || @@ -1163,7 +1163,7 @@ static CPU_EXECUTE( mcs48 ) read -------------------------------------------------*/ -UINT8 upi41_master_r(running_device *device, UINT8 a0) +UINT8 upi41_master_r(device_t *device, UINT8 a0) { mcs48_state *cpustate = get_safe_token(device); @@ -1212,7 +1212,7 @@ static TIMER_CALLBACK( master_callback ) cpustate->sts |= STS_F1; } -void upi41_master_w(running_device *_device, UINT8 a0, UINT8 data) +void upi41_master_w(device_t *_device, UINT8 a0, UINT8 data) { legacy_cpu_device *device = downcast(_device); timer_call_after_resynch(device->machine, (void *)device, (a0 << 8) | data, master_callback); diff --git a/src/emu/cpu/mcs48/mcs48.h b/src/emu/cpu/mcs48/mcs48.h index 5e6b2d73f6d..a2087bba6a5 100644 --- a/src/emu/cpu/mcs48/mcs48.h +++ b/src/emu/cpu/mcs48/mcs48.h @@ -119,8 +119,8 @@ DECLARE_LEGACY_CPU_DEVICE(M58715, m58715); /* 8049 clone */ ***************************************************************************/ /* functions for talking to the input/output buffers on the UPI41-class chips */ -UINT8 upi41_master_r(running_device *device, UINT8 a0); -void upi41_master_w(running_device *device, UINT8 a0, UINT8 data); +UINT8 upi41_master_r(device_t *device, UINT8 a0); +void upi41_master_w(device_t *device, UINT8 a0, UINT8 data); /* disassemblers */ diff --git a/src/emu/cpu/mcs48/mcs48dsm.c b/src/emu/cpu/mcs48/mcs48dsm.c index 5dc76e2a5c6..d527d190ff8 100644 --- a/src/emu/cpu/mcs48/mcs48dsm.c +++ b/src/emu/cpu/mcs48/mcs48dsm.c @@ -10,7 +10,7 @@ #include "emu.h" -static UINT32 common_dasm(running_device *device, char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, int upi41) +static UINT32 common_dasm(device_t *device, char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, int upi41) { const UINT8 *startram = opram; UINT32 flags = 0; -- cgit v1.2.3-70-g09d2