Actually initialize the cursor color regs of the ATI Mach32 card.

This commit is contained in:
TC1995
2023-12-14 21:56:17 +01:00
parent 15c6d9e5fa
commit ea9348d104

View File

@@ -5195,6 +5195,7 @@ mach32_hwcursor_draw(svga_t *svga, int displine)
mach_log("BPP=%d.\n", dev->accel_bpp);
switch (dev->accel_bpp) {
default:
case 8:
color0 = dev->pallook[mach->cursor_col_0];
color1 = dev->pallook[mach->cursor_col_1];
@@ -5212,7 +5213,6 @@ mach32_hwcursor_draw(svga_t *svga, int displine)
color0 = ((mach->ext_cur_col_0_r << 16) | (mach->ext_cur_col_0_g << 8) | mach->cursor_col_0);
color1 = ((mach->ext_cur_col_1_r << 16) | (mach->ext_cur_col_1_g << 8) | mach->cursor_col_1);
break;
default:
break;
}