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/mcs48/mcs48.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/mcs48/mcs48.c')
-rw-r--r-- | src/emu/cpu/mcs48/mcs48.c | 6 |
1 files changed, 3 insertions, 3 deletions
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<legacy_cpu_device *>(_device); timer_call_after_resynch(device->machine, (void *)device, (a0 << 8) | data, master_callback); |