summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-01-17 19:01:04 -0800
committerMichael Pavone <pavone@retrodev.com>2017-01-17 19:01:04 -0800
commitb3581ea0049f36852182654e9628400859e5194e (patch)
treefd6e02daedd4c0506e1f6eb8ab33bc573616210a
parent0e0a78ba18593f9ac102d29e010c9e25fa69dfa4 (diff)
Undo poorly thought out minor optimization that screwed up rendering
-rw-r--r--vdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdp.c b/vdp.c
index 56c3c5e..08ff853 100644
--- a/vdp.c
+++ b/vdp.c
@@ -1184,11 +1184,11 @@ static void render_map_output(uint32_t line, int32_t col, vdp_context * context)
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) {