Fixed erroneous reference to svga instad of ega in vid_ega.c.

This commit is contained in:
OBattler
2016-07-19 03:06:42 +02:00
parent fdaea1f11b
commit a01acf2240

View File

@@ -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)