summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/adp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/adp.c')
-rw-r--r--src/mame/drivers/adp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/adp.c b/src/mame/drivers/adp.c
index 5770b1a3280..c94a671e084 100644
--- a/src/mame/drivers/adp.c
+++ b/src/mame/drivers/adp.c
@@ -280,7 +280,7 @@ static void duart_tx( device_t *device, int channel, UINT8 data )
adp_state *state = device->machine().driver_data<adp_state>();
if (channel == 0)
{
- state->m_microtouch->rx(*device->machine().memory().first_space(), 0, data);
+ state->m_microtouch->rx(device->machine().driver_data()->generic_space(), 0, data);
}
}