diff options
Diffstat (limited to 'src/mame/machine/snescx4.c')
-rw-r--r-- | src/mame/machine/snescx4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/snescx4.c b/src/mame/machine/snescx4.c index 7d648d04719..add0db3d3fc 100644 --- a/src/mame/machine/snescx4.c +++ b/src/mame/machine/snescx4.c @@ -108,7 +108,7 @@ static void CX4_transfer_data(running_machine &machine) count = (cx4.reg[0x43]) | (cx4.reg[0x44] << 8); dest = (cx4.reg[0x45]) | (cx4.reg[0x46] << 8); - address_space &space = *machine.device<cpu_device>("maincpu")->space(AS_PROGRAM); + address_space &space = machine.device<cpu_device>("maincpu")->space(AS_PROGRAM); for(i=0;i<count;i++) { CX4_write(machine, dest++, space.read_byte(src++)); |