diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-09-15 23:49:09 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-09-15 23:49:09 -0700 |
commit | 0b85aa8c6991e91f9927f4d77e3f6bf5600dd36c (patch) | |
tree | 8d14002129bc794e5cfb3df0aac5d4210fabff4b /vdp.c | |
parent | 0d6a2b753c9733f07932c1bd104a4371cc603894 (diff) |
Clear the low 2 bits of CD when a register is written to
Diffstat (limited to 'vdp.c')
-rw-r--r-- | vdp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1489,6 +1489,7 @@ int vdp_control_port_write(vdp_context * context, uint16_t value) context->framebuf = context->oddbuf; } } + context->cd &= 0x3C; } } else { context->flags |= FLAG_PENDING; |