From d62d7a692ad3c7fb603eef0e5792feed219d68af Mon Sep 17 00:00:00 2001 From: TC1995 Date: Thu, 25 Jun 2020 13:20:10 +0200 Subject: [PATCH] Fixed a bug. --- src/video/vid_s3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vid_s3.c b/src/video/vid_s3.c index dc152ed7c..318a8768f 100644 --- a/src/video/vid_s3.c +++ b/src/video/vid_s3.c @@ -1558,7 +1558,7 @@ uint8_t s3_in(uint16_t addr, void *p) } else if (s3->chip == S3_86C801 || s3->chip == S3_86C805) return att49x_ramdac_in(addr, svga->ramdac, svga); else if (s3->chip == S3_86C911) - sc1148x_ramdac_in(addr, svga->ramdac, svga); + return sc1148x_ramdac_in(addr, svga->ramdac, svga); else return sdac_ramdac_in(addr, rs2, svga->ramdac, svga); break;