diff options
Diffstat (limited to 'src/mess/machine/super80.c')
-rw-r--r-- | src/mess/machine/super80.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/super80.c b/src/mess/machine/super80.c index 8b1944f132f..b77c04b68fd 100644 --- a/src/mess/machine/super80.c +++ b/src/mess/machine/super80.c @@ -227,13 +227,13 @@ QUICKLOAD_LOAD_MEMBER( super80_state, super80 ) UINT16 exec_addr, start_addr, end_addr; /* load the binary into memory */ - if (z80bin_load_file(&image, file_type, &exec_addr, &start_addr, &end_addr) == IMAGE_INIT_FAIL) + if (z80bin_load_file(&image, m_maincpu->space(AS_PROGRAM), file_type, &exec_addr, &start_addr, &end_addr) == IMAGE_INIT_FAIL) return IMAGE_INIT_FAIL; /* is this file executable? */ if (exec_addr != 0xffff) /* check to see if autorun is on */ - if BIT(m_io_config->read_safe(0xFF), 0) + if BIT(m_io_config->read(), 0) m_maincpu->set_pc(exec_addr); return IMAGE_INIT_PASS; |