summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/megadriv.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/mame/drivers/megadriv.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/mame/drivers/megadriv.c')
-rw-r--r--src/mame/drivers/megadriv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/megadriv.c b/src/mame/drivers/megadriv.c
index 69da8046385..5147b9c2726 100644
--- a/src/mame/drivers/megadriv.c
+++ b/src/mame/drivers/megadriv.c
@@ -5133,7 +5133,7 @@ static MACHINE_RESET( segacd )
#ifdef MESS
{
- running_device *device;
+ device_t *device;
device = machine->device("cdrom");
if ( device )
@@ -8963,7 +8963,7 @@ static IRQ_CALLBACK(genesis_int_callback)
return (0x60+irqline*4)/4; // vector address
}
-static int megadriv_tas_callback(running_device *device)
+static int megadriv_tas_callback(device_t *device)
{
return 0; // writeback not allowed
}
@@ -9161,7 +9161,7 @@ static WRITE8_HANDLER( z80_unmapped_w )
/* sets the megadrive z80 to it's normal ports / map */
void megatech_set_megadrive_z80_as_megadrive_z80(running_machine *machine, const char* tag)
{
- running_device *ym = machine->device("ymsnd");
+ device_t *ym = machine->device("ymsnd");
/* INIT THE PORTS *********************************************************************************************/
memory_install_readwrite8_handler(cputag_get_address_space(machine, tag, ADDRESS_SPACE_IO), 0x0000, 0xffff, 0, 0, z80_unmapped_port_r, z80_unmapped_port_w);