summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/mcs48
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-12-31 21:42:55 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-12-31 21:42:55 +0000
commit3b41606ca0c02056604a55a7b1f5165e80bc11fb (patch)
tree415d338c92efb4c7f1d4922255060f279d1d4fa2 /src/emu/cpu/mcs48
parent2ca38fad3e665d2e4e0212263a07819d36f4ba7f (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')
-rw-r--r--src/emu/cpu/mcs48/mcs48.c6
-rw-r--r--src/emu/cpu/mcs48/mcs48.h4
-rw-r--r--src/emu/cpu/mcs48/mcs48dsm.c2
3 files changed, 6 insertions, 6 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);
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;