summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/segacrpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/segacrpt.c')
-rw-r--r--src/mame/machine/segacrpt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/segacrpt.c b/src/mame/machine/segacrpt.c
index 3ff52b608d9..e0695a94e57 100644
--- a/src/mame/machine/segacrpt.c
+++ b/src/mame/machine/segacrpt.c
@@ -217,7 +217,7 @@ static void sega_decode(running_machine &machine, const char *cputag, const UINT
{
int A;
- address_space &space = *machine.device(cputag)->memory().space(AS_PROGRAM);
+ address_space &space = machine.device(cputag)->memory().space(AS_PROGRAM);
int length = machine.root_device().memregion(cputag)->bytes();
int cryptlen = MIN(length, 0x8000);
UINT8 *rom = machine.root_device().memregion(cputag)->base();
@@ -439,7 +439,7 @@ void toprollr_decode(running_machine &machine, const char *cputag, const char *r
int A;
- address_space &space = *machine.device(cputag)->memory().space(AS_PROGRAM);
+ address_space &space = machine.device(cputag)->memory().space(AS_PROGRAM);
UINT8 *rom = machine.root_device().memregion(regiontag)->base();
int bankstart;
decrypted = auto_alloc_array(machine, UINT8, 0x6000*3);
@@ -797,7 +797,7 @@ void jongkyo_decode(running_machine &machine, const char *cputag)
int A;
- address_space &space = *machine.device(cputag)->memory().space(AS_PROGRAM);
+ address_space &space = machine.device(cputag)->memory().space(AS_PROGRAM);
UINT8 *rom = machine.root_device().memregion(cputag)->base();
decrypted = auto_alloc_array(machine, UINT8, 0x9000);