From de6f785029ac4b59354cd7ef8990b2d7a25a56c3 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 14 Feb 2017 23:49:48 +0100 Subject: [PATCH] Fixed a compile-breaking error. --- src/vid_ega.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vid_ega.c b/src/vid_ega.c index a6af3377e..6a377efe3 100644 --- a/src/vid_ega.c +++ b/src/vid_ega.c @@ -164,10 +164,10 @@ static uint8_t ega_get_input_status_0(ega_t *ega) bit = (egaswitchread >> 2) & 3; if (egaswitches & (0x08 >> bit)) { - status0 |= EGA_STATUS0_SS; + status0 |= 0x10; } else { - status0 &= ~EGA_STATUS0_SS; + status0 &= ~0x10; } return status0;