From 4ee89f324a86790871f3ea0f1e15f96f8460864b Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 12 Dec 2016 09:50:33 -0800 Subject: Fix field flag handling bug introduced with VDP/render interface cleanup --- vdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vdp.c') diff --git a/vdp.c b/vdp.c index 86ce7e4..683c76b 100644 --- a/vdp.c +++ b/vdp.c @@ -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; -- cgit v1.2.3