Merge pull request #3884 from 86Box/tc1995
Fix the initialization of the color cursor regs (ATI Mach32)
This commit is contained in:
@@ -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,8 +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;
|
||||
}
|
||||
|
||||
if (dev->interlace && dev->hwcursor_oddeven)
|
||||
|
Reference in New Issue
Block a user