From a01acf22408fd30f63c9707c61130ac550b81079 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 19 Jul 2016 03:06:42 +0200 Subject: [PATCH] Fixed erroneous reference to svga instad of ega in vid_ega.c. --- src/vid_ega.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vid_ega.c b/src/vid_ega.c index 97b2762a5..39b7f651b 100644 --- a/src/vid_ega.c +++ b/src/vid_ega.c @@ -870,7 +870,7 @@ uint8_t ega_read(uint32_t addr, void *p) if (addr >= 0xb0000) addr &= 0x7fff; else addr &= 0xffff; - if (svga->chain2_read) + if (ega->chain2_read) { /* Redone because the original code caused problems when using Windows 3.1 EGA driver on (S)VGA card. */ if (ega->oddeven_chain)