comparison vdp.c @ 1334:7757d605e365

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
author Michael Pavone <pavone@retrodev.com>
date Thu, 27 Apr 2017 09:32:21 -0700
parents 69c25e1188e5
children 26e72126f9d1
comparison
equal deleted inserted replaced
1333:69c25e1188e5 1334:7757d605e365
1126 hscroll_mask = 0x3F; 1126 hscroll_mask = 0x3F;
1127 v_mul = 128; 1127 v_mul = 128;
1128 break; 1128 break;
1129 case 0x2: 1129 case 0x2:
1130 //TODO: Verify this behavior 1130 //TODO: Verify this behavior
1131 hscroll_mask = 0x5F; 1131 hscroll_mask = 0x1F;
1132 v_mul = 0; 1132 v_mul = 0;
1133 break; 1133 break;
1134 case 0x3: 1134 case 0x3:
1135 hscroll_mask = 0x7F; 1135 hscroll_mask = 0x7F;
1136 v_mul = 256; 1136 v_mul = 256;