Corrected a small mistake of mine.

This commit is contained in:
TC1995
2018-02-25 21:47:28 +01:00
parent 9c0d0e6a7c
commit f00a5b1d70

View File

@@ -1524,7 +1524,7 @@ gd54xx_start_blit(uint32_t cpu_dat, int count, gd54xx_t *gd54xx, svga_t *svga)
if (gd54xx->blt.mode & CIRRUS_BLTMODE_MEMSYSSRC) {
if (gd54xx->blt.mode & CIRRUS_BLTMODE_COLOREXPAND) {
if (gd54xx->blt.mode & CIRRUS_BLTMODEEXT_DWORDGRANULARITY)
if (gd54xx->blt.modeext & CIRRUS_BLTMODEEXT_DWORDGRANULARITY)
mask = (cpu_dat >> 31);
else
mask = cpu_dat & 0x80;