Mercurial > repos > blastem
changeset 1180:e2b81a0f8fd8
Undo poorly thought out minor optimization that screwed up rendering
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 17 Jan 2017 19:01:04 -0800 |
parents | 1271b240b9c2 |
children | 0928b68fef2a |
files | vdp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vdp.c Tue Jan 17 09:27:05 2017 -0800 +++ b/vdp.c Tue Jan 17 19:01:04 2017 -0800 @@ -1184,11 +1184,11 @@ if (line >= 240) { return; } + render_map(context->col_2, context->tmp_buf_b, context->buf_b_off+8, context); uint8_t *sprite_buf, *plane_a, *plane_b; int plane_a_off, plane_b_off; if (col) { - render_map(context->col_2, context->tmp_buf_b, context->buf_b_off+8, context); col-=2; dst = context->output + col * 8; if (context->debug < 2) {