diff options
author | Wilbert Pol <wilbert@jdg.info> | 2013-09-19 20:21:34 +0000 |
---|---|---|
committer | Wilbert Pol <wilbert@jdg.info> | 2013-09-19 20:21:34 +0000 |
commit | d2938b8a390d88bc19ab6312b8efa61993efca80 (patch) | |
tree | c5627859975e89f76ae60d05841fa1244842f315 /src/emu/cpu/m6502 | |
parent | bff72b3f0b87f6d5cd0cd85ad1c870e7ebefc691 (diff) |
m4510.c: Fix typo (nw)
Diffstat (limited to 'src/emu/cpu/m6502')
-rw-r--r-- | src/emu/cpu/m6502/m4510.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/emu/cpu/m6502/m4510.c b/src/emu/cpu/m6502/m4510.c index 826c619d8ff..21fc82e3abb 100644 --- a/src/emu/cpu/m6502/m4510.c +++ b/src/emu/cpu/m6502/m4510.c @@ -62,7 +62,7 @@ void m4510_device::device_start() else mintf = new mi_4510_normal(this); - m65ce02_device::device_start(); + m65ce02_device::init(); save_item(NAME(map_offset)); save_item(NAME(map_enable)); @@ -70,10 +70,14 @@ void m4510_device::device_start() void m4510_device::device_reset() { - m65ce02_device::device_reset(); map_offset[0] = map_offset[1] = 0; map_enable = 0; nomap = true; + + // Wild guess, this setting makes the cpu start executing some code in the c65 driver + map_offset[1] = 0x30000; + map_enable = 0x80; + m65ce02_device::device_reset(); } m4510_device::mi_4510_normal::mi_4510_normal(m4510_device *_base) |