summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/cd32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/cd32.c')
-rw-r--r--src/mame/machine/cd32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/cd32.c b/src/mame/machine/cd32.c
index 68694bb6301..1638a5f1227 100644
--- a/src/mame/machine/cd32.c
+++ b/src/mame/machine/cd32.c
@@ -174,7 +174,7 @@ static DEVICE_START( akiko )
akiko_state *state = get_safe_token(device);
state->set_machine(machine);
- state->m_space = machine.device("maincpu")->memory().space(AS_PROGRAM);
+ state->m_space = &machine.device("maincpu")->memory().space(AS_PROGRAM);
state->m_c2p_input_index = 0;
state->m_c2p_output_index = 0;