summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/bebox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/bebox.c')
-rw-r--r--src/mess/machine/bebox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/machine/bebox.c b/src/mess/machine/bebox.c
index b9497bfe137..0dc6f6b5428 100644
--- a/src/mess/machine/bebox.c
+++ b/src/mess/machine/bebox.c
@@ -481,7 +481,7 @@ static WRITE_LINE_DEVICE_HANDLER( bebox_pic8259_slave_set_int_line )
static READ8_DEVICE_HANDLER( get_slave_ack )
{
- bebox_state *state = device->machine().driver_data<bebox_state>();
+ bebox_state *state = space.machine().driver_data<bebox_state>();
if (offset==2) { // IRQ = 2
return pic8259_acknowledge(state->m_devices.pic8259_slave);
}
@@ -696,12 +696,12 @@ static WRITE8_HANDLER( bebox_dma_write_byte )
static READ8_DEVICE_HANDLER( bebox_dma8237_fdc_dack_r ) {
- return pc_fdc_dack_r(device->machine(),space);
+ return pc_fdc_dack_r(space.machine(),space);
}
static WRITE8_DEVICE_HANDLER( bebox_dma8237_fdc_dack_w ) {
- pc_fdc_dack_w( device->machine(), space, data );
+ pc_fdc_dack_w( space.machine(), space, data );
}