# HG changeset patch # User Michael Pavone # Date 1491410929 25200 # Node ID 810ae0287d665e8111f6d7a682453b197aab0c87 # Parent ae932ca282821f5007641cbdd102fb936c53bf21 Fix minor bug that displayed window plane as if it were plane A In plane debug view diff -r ae932ca28282 -r 810ae0287d66 vdp.c --- a/vdp.c Tue Apr 04 19:31:14 2017 -0700 +++ b/vdp.c Wed Apr 05 09:48:49 2017 -0700 @@ -1235,7 +1235,7 @@ uint8_t intensity = *plane_b & BUF_BIT_PRIORITY; if (*plane_a & 0xF && (*plane_a & BUF_BIT_PRIORITY) >= (pixel & BUF_BIT_PRIORITY)) { pixel = *plane_a; - src = DBG_SRC_A; + src = a_src; } intensity |= *plane_a & BUF_BIT_PRIORITY; if (*sprite_buf & 0xF && (*sprite_buf & BUF_BIT_PRIORITY) >= (pixel & BUF_BIT_PRIORITY)) { @@ -1281,7 +1281,7 @@ } if (*plane_a & 0xF && (*plane_a & BUF_BIT_PRIORITY) >= (pixel & BUF_BIT_PRIORITY)) { pixel = *plane_a; - src = DBG_SRC_A; + src = a_src; } if (*sprite_buf & 0xF && (*sprite_buf & BUF_BIT_PRIORITY) >= (pixel & BUF_BIT_PRIORITY)) { pixel = *sprite_buf;