C&T 69000: Fix ROP 0xFF WHITENESS on 16+ bpp modes

Fixes blue background on Write in Windows 3.11 drivers
This commit is contained in:
Cacodemon345
2024-02-18 12:23:21 +06:00
parent 607c113a36
commit 4adb484184

View File

@@ -351,7 +351,7 @@ chips_69000_do_rop_16bpp(uint16_t *dst, uint16_t src, uint8_t rop)
*dst |= src;
break;
case 0xFF:
*dst = 0xFF;
*dst = 0xFFFF;
break;
}
}
@@ -405,7 +405,7 @@ chips_69000_do_rop_24bpp(uint32_t *dst, uint32_t src, uint8_t rop)
*dst |= src;
break;
case 0xFF:
*dst = 0xFF;
*dst = 0xFFFFFF;
break;
}
}