From fccd59ba92c17a27cbd60b69e5a54b396de30061 Mon Sep 17 00:00:00 2001 From: SarahW Date: Sun, 16 Aug 2020 20:57:15 +0100 Subject: [PATCH] Add Banshee RGB565 undithered overlay format. Currently dithered and undithered are handled the same. --- src/vid_voodoo_banshee.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vid_voodoo_banshee.c b/src/vid_voodoo_banshee.c index 49dc782..9ddc4cf 100644 --- a/src/vid_voodoo_banshee.c +++ b/src/vid_voodoo_banshee.c @@ -139,6 +139,7 @@ enum #define VIDPROCCFG_2X_MODE (1 << 26) #define VIDPROCCFG_HWCURSOR_ENA (1 << 27) +#define OVERLAY_FMT_565 (1) #define OVERLAY_FMT_YUYV422 (5) #define OVERLAY_FMT_UYVY422 (6) #define OVERLAY_FMT_565_DITHER (7) @@ -1636,6 +1637,7 @@ void banshee_hwcursor_draw(svga_t *svga, int displine) DECODE_UYUV422(); \ break; \ \ + case OVERLAY_FMT_565: \ case OVERLAY_FMT_565_DITHER: \ if (banshee->vidProcCfg & VIDPROCCFG_OVERLAY_TILE) \ DECODE_RGB565_TILED(); \