PCem
changeset 40:83b75538c211
Fixed Mach64 in 32-bit colour modes.
| author | TomW |
|---|---|
| date | Sat Nov 16 20:48:51 2013 +0000 |
| parents | 98e5536cbe16 |
| children | ed02b0da1714 |
| files | src/vid_ati_mach64.c |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/src/vid_ati_mach64.c Sat Nov 16 20:27:56 2013 +0000 1.2 +++ b/src/vid_ati_mach64.c Sat Nov 16 20:48:51 2013 +0000 1.3 @@ -165,7 +165,7 @@ 1.4 SRC_LINEAR_EN = 4 1.5 }; 1.6 1.7 -static int mach64_width[6] = {0, 0, 0, 1, 1, 2}; 1.8 +static int mach64_width[8] = {0, 0, 0, 1, 1, 2, 2, 0}; 1.9 1.10 enum 1.11 { 1.12 @@ -315,6 +315,7 @@ 1.13 case 6: 1.14 svga->render = svga_render_32bpp_highres; 1.15 svga->hdisp *= 8; 1.16 + svga->rowoffset *= 2; 1.17 break; 1.18 } 1.19
