Merge pull request #4165 from Cacodemon345/chips_69000_rop_fix

C&T 69000: Fix ROP 0xFF `WHITENESS` on 16+ bpp modes
This commit is contained in:
Miran Grča
2024-02-18 12:28:18 +01:00
committed by GitHub

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;
}
}