summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502/m6502.c
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2014-01-30 13:12:32 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2014-01-30 13:12:32 +0000
commite0b48579cccc866ae8e7d378af35f8c57e499177 (patch)
tree3bd25591b37315b563d61cf9803ce621096444b7 /src/emu/cpu/m6502/m6502.c
parentaf89f37d50127adae1a7bc5167f99cd4619c29a9 (diff)
Not everyone calls the base device_start, but they do call the base init() (nw)
Diffstat (limited to 'src/emu/cpu/m6502/m6502.c')
-rw-r--r--src/emu/cpu/m6502/m6502.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/m6502/m6502.c b/src/emu/cpu/m6502/m6502.c
index 7341c8d75b2..9327d2618c1 100644
--- a/src/emu/cpu/m6502/m6502.c
+++ b/src/emu/cpu/m6502/m6502.c
@@ -66,8 +66,6 @@ void m6502_device::device_start()
else
mintf = new mi_default_normal;
- sync_w.resolve_safe();
-
init();
}
@@ -76,6 +74,8 @@ void m6502_device::init()
mintf->program = &space(AS_PROGRAM);
mintf->direct = &mintf->program->direct();
+ sync_w.resolve_safe();
+
state_add(STATE_GENPC, "GENPC", NPC).noshow();
state_add(STATE_GENPCBASE, "GENPCBASE", PPC).noshow();
state_add(STATE_GENSP, "GENSP", SP).noshow();