summaryrefslogtreecommitdiff
path: root/blastem.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-12-22 20:55:10 -0800
committerMichael Pavone <pavone@retrodev.com>2014-12-22 20:55:10 -0800
commit12c73dc400c1b6b61531df4ff0fd1efe4ef7ae12 (patch)
tree12f0b6e224aac2cadc0199e040a9f4dc579d920d /blastem.c
parent4cad512b6d7ac0f7042b90e1029626fb14788bf0 (diff)
Z80 core is sort of working again
Diffstat (limited to 'blastem.c')
-rw-r--r--blastem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blastem.c b/blastem.c
index 2659fa4..c704ef2 100644
--- a/blastem.c
+++ b/blastem.c
@@ -198,7 +198,7 @@ void sync_z80(z80_context * z_context, uint32_t mclks)
}
z_context->target_cycle = z_context->sync_cycle < z_context->int_cycle ? z_context->sync_cycle : z_context->int_cycle;
dprintf("Running Z80 from cycle %d to cycle %d. Native PC: %p\n", z_context->current_cycle, z_context->sync_cycle, z_context->native_pc);
- z80_run(z_context);
+ z_context->run(z_context);
dprintf("Z80 ran to cycle %d\n", z_context->current_cycle);
}
}