summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/calorie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/calorie.c')
-rw-r--r--src/mame/drivers/calorie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/calorie.c b/src/mame/drivers/calorie.c
index 3250b726791..dbd33958a24 100644
--- a/src/mame/drivers/calorie.c
+++ b/src/mame/drivers/calorie.c
@@ -554,7 +554,7 @@ DRIVER_INIT_MEMBER(calorie_state,calorie)
DRIVER_INIT_MEMBER(calorie_state,calorieb)
{
- address_space &space = *machine().device("maincpu")->memory().space(AS_PROGRAM);
+ address_space &space = machine().device("maincpu")->memory().space(AS_PROGRAM);
space.set_decrypted_region(0x0000, 0x7fff, machine().root_device().memregion("maincpu")->base() + 0x10000);
}