# HG changeset patch # User Michael Pavone # Date 1481565033 28800 # Node ID cacbd3f18f03aff27b834381181d5a192c1d38fd # Parent 27ea21b10361b98afae1655844fa12978089cd88 Fix field flag handling bug introduced with VDP/render interface cleanup diff -r 27ea21b10361 -r cacbd3f18f03 vdp.c --- a/vdp.c Sun Dec 11 22:00:41 2016 -0800 +++ b/vdp.c Mon Dec 12 09:50:33 2016 -0800 @@ -1656,7 +1656,7 @@ 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;