summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502/m6502.c
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/m6502/m6502.c
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/m6502/m6502.c')
-rw-r--r--src/emu/cpu/m6502/m6502.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/m6502/m6502.c b/src/emu/cpu/m6502/m6502.c
index 7f1112e187d..00333f31825 100644
--- a/src/emu/cpu/m6502/m6502.c
+++ b/src/emu/cpu/m6502/m6502.c
@@ -85,7 +85,7 @@ struct _m6502_Regs
m6510_port_write_func port_write;
};
-INLINE m6502_Regs *get_safe_token(running_device *device)
+INLINE m6502_Regs *get_safe_token(device_t *device)
{
assert(device != NULL);
assert(device->type() == M6502 ||
@@ -330,7 +330,7 @@ static CPU_INIT( n2a03 )
Bit 7 of address $4011 (the PSG's DPCM control register), when set,
causes an IRQ to be generated. This function allows the IRQ to be called
from the PSG core when such an occasion arises. */
-void n2a03_irq(running_device *device)
+void n2a03_irq(device_t *device)
{
m6502_Regs *cpustate = get_safe_token(device);