diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-12-12 09:50:33 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-12-12 09:50:33 -0800 |
commit | 4ee89f324a86790871f3ea0f1e15f96f8460864b (patch) | |
tree | 2e7e7e50e1be9747184e16889cba990cdc595dcb | |
parent | df7d682d963dbb3de9645a0376d58396b65649b7 (diff) |
Fix field flag handling bug introduced with VDP/render interface cleanup
-rw-r--r-- | vdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1656,7 +1656,7 @@ int vdp_control_port_write(vdp_context * context, uint16_t value) if (reg == REG_MODE_4) { context->double_res = (value & (BIT_INTERLACE | BIT_DOUBLE_RES)) == (BIT_INTERLACE | BIT_DOUBLE_RES); if (!context->double_res) { - context->flags &= FLAG2_EVEN_FIELD; + context->flags2 &= ~FLAG2_EVEN_FIELD; } } context->cd &= 0x3C; |