summaryrefslogtreecommitdiff
path: root/blastem.c
diff options
context:
space:
mode:
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);
}
}