address space compilation fixes.

This commit is contained in:
smf- 2008-11-15 10:20:18 +00:00
parent 4d78362d45
commit e926e13aa3
4 changed files with 6 additions and 6 deletions

View File

@ -510,13 +510,13 @@ static READ32_HANDLER( cage_io_status_r )
} }
UINT16 main_from_cage_r(void) UINT16 main_from_cage_r(const address_space *space)
{ {
if (LOG_COMM) if (LOG_COMM)
logerror("%06X:main read data = %04X\n", cpu_get_pc(Machine->activecpu), soundlatch_word_r(Machine, 0, 0)); logerror("%06X:main read data = %04X\n", cpu_get_pc(Machine->activecpu), soundlatch_word_r(space, 0, 0));
cage_to_cpu_ready = 0; cage_to_cpu_ready = 0;
update_control_lines(Machine); update_control_lines(Machine);
return soundlatch_word_r(Machine, 0, 0xffff); return soundlatch_word_r(space, 0, 0xffff);
} }

View File

@ -14,7 +14,7 @@ void cage_init(running_machine *machine, offs_t speedup);
void cage_set_irq_handler(void (*irqhandler)(running_machine *, int)); void cage_set_irq_handler(void (*irqhandler)(running_machine *, int));
void cage_reset_w(int state); void cage_reset_w(int state);
UINT16 main_from_cage_r(void); UINT16 main_from_cage_r(const address_space *space);
UINT16 cage_control_r(void); UINT16 cage_control_r(void);
void main_to_cage_w(UINT16 data); void main_to_cage_w(UINT16 data);
void cage_control_w(running_machine *machine, UINT16 data); void cage_control_w(running_machine *machine, UINT16 data);

View File

@ -234,7 +234,7 @@ static READ32_HANDLER( sound_data_r )
if (ACCESSING_BITS_0_15) if (ACCESSING_BITS_0_15)
result |= cage_control_r(); result |= cage_control_r();
if (ACCESSING_BITS_16_31) if (ACCESSING_BITS_16_31)
result |= main_from_cage_r() << 16; result |= main_from_cage_r(space) << 16;
return result; return result;
} }

View File

@ -916,7 +916,7 @@ READ32_HANDLER( midway_ioasic_r )
dcs_ack_w(); dcs_ack_w();
} }
else if (ioasic.has_cage) else if (ioasic.has_cage)
result = main_from_cage_r(); result = main_from_cage_r(space);
else else
{ {
static UINT16 val = 0; static UINT16 val = 0;