Mercurial > repos > blastem
changeset 1179:1271b240b9c2
Fix vdp_run_to_vblank
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 17 Jan 2017 09:27:05 -0800 |
parents | 24fc305396ee |
children | e2b81a0f8fd8 |
files | vdp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vdp.c Tue Jan 17 09:18:35 2017 -0800 +++ b/vdp.c Tue Jan 17 09:27:05 2017 -0800 @@ -2264,7 +2264,7 @@ { 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; }