# HG changeset patch # User Mike Pavone # Date 1379314149 25200 # Node ID 5d7bc113653b70112e6fb9ea8ee8e81d419c8c78 # Parent 50e0cb475294724f912f4c06e54b6d594316c42c Clear the low 2 bits of CD when a register is written to diff -r 50e0cb475294 -r 5d7bc113653b vdp.c --- a/vdp.c Sun Sep 15 23:40:18 2013 -0700 +++ b/vdp.c Sun Sep 15 23:49:09 2013 -0700 @@ -1489,6 +1489,7 @@ context->framebuf = context->oddbuf; } } + context->cd &= 0x3C; } } else { context->flags |= FLAG_PENDING;