summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tmaster.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tmaster.c')
-rw-r--r--src/mame/drivers/tmaster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/tmaster.c b/src/mame/drivers/tmaster.c
index 20333722d04..3568388e8f3 100644
--- a/src/mame/drivers/tmaster.c
+++ b/src/mame/drivers/tmaster.c
@@ -225,7 +225,7 @@ static void duart_tx(device_t *device, int channel, UINT8 data)
tmaster_state *state = device->machine().driver_data<tmaster_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);
}
};