diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-01-17 09:27:05 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-01-17 09:27:05 -0800 |
commit | 0e0a78ba18593f9ac102d29e010c9e25fa69dfa4 (patch) | |
tree | e605c12000f8579d088b105a913acbfd0f372d33 | |
parent | d4ca3b5c277cad0ba44a202648a98b67670a05ee (diff) |
Fix vdp_run_to_vblank
-rw-r--r-- | vdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2264,7 +2264,7 @@ uint32_t vdp_run_to_vblank(vdp_context * context) { uint32_t old_frame = context->frame; while (context->frame == old_frame) { - vdp_run_context(context, MCLKS_LINE); + vdp_run_context(context, context->cycles + MCLKS_LINE); } return context->cycles; } |