From f00a5b1d707e61232601ea9676eaad30bbf61ce1 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Sun, 25 Feb 2018 21:47:28 +0100 Subject: [PATCH] Corrected a small mistake of mine. --- src/video/vid_cl54xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vid_cl54xx.c b/src/video/vid_cl54xx.c index 8a2284859..294410aa7 100644 --- a/src/video/vid_cl54xx.c +++ b/src/video/vid_cl54xx.c @@ -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;