summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/snes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/snes.c')
-rw-r--r--src/mame/machine/snes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/snes.c b/src/mame/machine/snes.c
index 345ac8bfc60..586a5caeb7c 100644
--- a/src/mame/machine/snes.c
+++ b/src/mame/machine/snes.c
@@ -1991,7 +1991,7 @@ MACHINE_RESET( snes )
/* for mame we use an init, maybe we will need more for the different games */
DRIVER_INIT_MEMBER(snes_state,snes)
-{
+{
address_space *space = machine().device("maincpu")->memory().space(AS_PROGRAM);
UINT16 total_blocks, read_blocks;
UINT8 *rom;