From c40879b61f34c538ce26166bfb78061f0a8b7b4a Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Sat, 15 Nov 2008 01:21:19 +0000 Subject: [PATCH] More compile fixes. --- src/mame/drivers/atarig42.c | 2 +- src/mame/drivers/atarigx2.c | 2 +- src/mame/machine/amiga.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/atarig42.c b/src/mame/drivers/atarig42.c index 32cce01a664..9f9b637a21a 100644 --- a/src/mame/drivers/atarig42.c +++ b/src/mame/drivers/atarig42.c @@ -105,7 +105,7 @@ static WRITE16_HANDLER( io_latch_w ) asic65_reset(space->machine, (~data >> 14) & 1); /* bits 13-11 are the MO control bits */ - atarirle_control_w(space, 0, (data >> 11) & 7); + atarirle_control_w(space->machine, 0, (data >> 11) & 7); } /* lower byte */ diff --git a/src/mame/drivers/atarigx2.c b/src/mame/drivers/atarigx2.c index df7f3bb4b86..024a8f374d6 100644 --- a/src/mame/drivers/atarigx2.c +++ b/src/mame/drivers/atarigx2.c @@ -130,7 +130,7 @@ static WRITE32_HANDLER( latch_w ) if (ACCESSING_BITS_24_31) { /* bits 13-11 are the MO control bits */ - atarirle_control_w(space,0, (data >> 27) & 7); + atarirle_control_w(space->machine,0, (data >> 27) & 7); } /* lower byte */ diff --git a/src/mame/machine/amiga.c b/src/mame/machine/amiga.c index f590fd09376..aa532109a7e 100644 --- a/src/mame/machine/amiga.c +++ b/src/mame/machine/amiga.c @@ -332,7 +332,7 @@ static void amiga_m68k_reset(void) MACHINE_RESET( amiga ) { - const address_space *space = cpu_get_address_space(Machine->cpu[0], ADDRESS_SPACE_PROGRAM); +// const address_space *space = cpu_get_address_space(Machine->cpu[0], ADDRESS_SPACE_PROGRAM); /* set m68k reset function */ cpu_set_info_fct(machine->cpu[0], CPUINFO_PTR_M68K_RESET_CALLBACK, (genf *)amiga_m68k_reset);