diff options
Diffstat (limited to 'src/mess/machine/apple3.c')
-rw-r--r-- | src/mess/machine/apple3.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mess/machine/apple3.c b/src/mess/machine/apple3.c index 8e6a0624e37..c4fe506b411 100644 --- a/src/mess/machine/apple3.c +++ b/src/mess/machine/apple3.c @@ -472,26 +472,26 @@ static READ8_DEVICE_HANDLER(apple3_via_1_in_b) { return ~0; } static WRITE8_DEVICE_HANDLER(apple3_via_0_out_a) { - apple3_state *state = device->machine().driver_data<apple3_state>(); - apple3_via_out(device->machine(), &state->m_via_0_a, data); + apple3_state *state = space.machine().driver_data<apple3_state>(); + apple3_via_out(space.machine(), &state->m_via_0_a, data); } static WRITE8_DEVICE_HANDLER(apple3_via_0_out_b) { - apple3_state *state = device->machine().driver_data<apple3_state>(); - apple3_via_out(device->machine(), &state->m_via_0_b, data); + apple3_state *state = space.machine().driver_data<apple3_state>(); + apple3_via_out(space.machine(), &state->m_via_0_b, data); } static WRITE8_DEVICE_HANDLER(apple3_via_1_out_a) { - apple3_state *state = device->machine().driver_data<apple3_state>(); - apple3_via_out(device->machine(), &state->m_via_1_a, data); + apple3_state *state = space.machine().driver_data<apple3_state>(); + apple3_via_out(space.machine(), &state->m_via_1_a, data); } static WRITE8_DEVICE_HANDLER(apple3_via_1_out_b) { - apple3_state *state = device->machine().driver_data<apple3_state>(); - apple3_via_out(device->machine(), &state->m_via_1_b, data); + apple3_state *state = space.machine().driver_data<apple3_state>(); + apple3_via_out(space.machine(), &state->m_via_1_b, data); } static void apple2_via_1_irq_func(device_t *device, int state) |