summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/fitfight.c
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2009-04-28 09:27:18 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2009-04-28 09:27:18 +0000
commitfdd2d4ab63c53c58376748feacb7424690bf9a19 (patch)
tree73a3ea3ffcf0bc94ce5874f7adda849ddbd4409e /src/mame/drivers/fitfight.c
parente120da44696f139d919d3b5de8b92ad81e189bdc (diff)
Again, number-to-tag conversions in CPU calls
Diffstat (limited to 'src/mame/drivers/fitfight.c')
-rw-r--r--src/mame/drivers/fitfight.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/fitfight.c b/src/mame/drivers/fitfight.c
index 9a08d9e46ea..74d0f630318 100644
--- a/src/mame/drivers/fitfight.c
+++ b/src/mame/drivers/fitfight.c
@@ -966,16 +966,16 @@ ROM_END
static DRIVER_INIT( fitfight )
{
// UINT16 *mem16 = (UINT16 *)memory_region(machine, "maincpu");
-// mem16[0x0165B2/2]=0x4e71; // for now so it boots
- memory_install_read16_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x700000, 0x700001, 0, 0, fitfight_700000_r);
+// mem16[0x0165B2/2] = 0x4e71; // for now so it boots
+ memory_install_read16_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x700000, 0x700001, 0, 0, fitfight_700000_r);
bbprot_kludge = 0;
}
static DRIVER_INIT( histryma )
{
// UINT16 *mem16 = (UINT16 *)memory_region(machine, "maincpu");
-// mem16[0x017FDC/2]=0x4e71; // for now so it boots
- memory_install_read16_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x700000, 0x700001, 0, 0, histryma_700000_r);
+// mem16[0x017FDC/2] = 0x4e71; // for now so it boots
+ memory_install_read16_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x700000, 0x700001, 0, 0, histryma_700000_r);
bbprot_kludge = 0;
}