Fixed Mach64 in 32-bit colour modes.

This commit is contained in:
TomW 2013-11-16 20:48:51 +00:00
commit c79d161b2b

View file

@ -165,7 +165,7 @@ enum
SRC_LINEAR_EN = 4 SRC_LINEAR_EN = 4
}; };
static int mach64_width[6] = {0, 0, 0, 1, 1, 2}; static int mach64_width[8] = {0, 0, 0, 1, 1, 2, 2, 0};
enum enum
{ {
@ -315,6 +315,7 @@ void mach64_recalctimings(svga_t *svga)
case 6: case 6:
svga->render = svga_render_32bpp_highres; svga->render = svga_render_32bpp_highres;
svga->hdisp *= 8; svga->hdisp *= 8;
svga->rowoffset *= 2;
break; break;
} }