summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tcl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tcl.c')
-rw-r--r--src/mame/drivers/tcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/tcl.c b/src/mame/drivers/tcl.c
index 97a565a16e1..11f077a5aad 100644
--- a/src/mame/drivers/tcl.c
+++ b/src/mame/drivers/tcl.c
@@ -190,7 +190,7 @@ DRIVER_INIT_MEMBER(tcl_state,tcl)
{
/* only the first part is decrypted (and verified)*/
- address_space &space = *machine().device("maincpu")->memory().space(AS_PROGRAM);
+ address_space &space = machine().device("maincpu")->memory().space(AS_PROGRAM);
UINT8 *dest = machine().root_device().memregion("maincpu")->base();
int len = machine().root_device().memregion("maincpu")->bytes();
UINT8 *src = auto_alloc_array(machine(), UINT8, len);