From 7e9045e6b156b641f7d6f7aaaef7aa7332ea194e Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 16 Jul 2023 03:50:00 +0200 Subject: [PATCH] And a warning in the XGA code. --- src/video/vid_xga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vid_xga.c b/src/video/vid_xga.c index 7933e74a8..e4f91bb00 100644 --- a/src/video/vid_xga.c +++ b/src/video/vid_xga.c @@ -2822,7 +2822,7 @@ xga_pos_in(uint16_t addr, void *priv) { svga_t *svga = (svga_t *) priv; xga_t *xga = &svga->xga; - uint8_t ret; + uint8_t ret = 0xff; if (xga_has_vga) { switch (addr) {