summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-04-27 09:32:21 -0700
committerMichael Pavone <pavone@retrodev.com>2017-04-27 09:32:21 -0700
commit9d0069240fbde7632096a4792d1acdcca9bb47df (patch)
tree8041cf5192e654cb04fc32af645cade9daa6ce11
parent3f81efc2e81b4118324f6043a7c6dc87426206bb (diff)
Adjust how the invalid size is handled for the horizontal dimmension of a plane. Fixes some garbage on the spinning cube scene of Overdrive 2
-rw-r--r--vdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdp.c b/vdp.c
index 428c3c5..8663d9e 100644
--- a/vdp.c
+++ b/vdp.c
@@ -1128,7 +1128,7 @@ static void read_map_scroll(uint16_t column, uint16_t vsram_off, uint32_t line,
break;
case 0x2:
//TODO: Verify this behavior
- hscroll_mask = 0x5F;
+ hscroll_mask = 0x1F;
v_mul = 0;
break;
case 0x3: