summaryrefslogtreecommitdiffstats
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/tcl.c b/src/mame/drivers/tcl.c
index 30c00ecb8ad..efb1c73f82a 100644
--- a/src/mame/drivers/tcl.c
+++ b/src/mame/drivers/tcl.c
@@ -189,9 +189,9 @@ static DRIVER_INIT(tcl)
{
/* only the first part is decrypted (and verified)*/
- address_space *space = machine->device("maincpu")->memory().space(AS_PROGRAM);
- UINT8 *dest = machine->region("maincpu")->base();
- int len = machine->region("maincpu")->bytes();
+ address_space *space = machine.device("maincpu")->memory().space(AS_PROGRAM);
+ UINT8 *dest = machine.region("maincpu")->base();
+ int len = machine.region("maincpu")->bytes();
UINT8 *src = auto_alloc_array(machine, UINT8, len);
int i,idx=0;