From b831b87355a8a8da285c256dec62f44b7d06217c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= Date: Sat, 2 Jul 2022 00:33:38 +0200 Subject: [PATCH] Fix EGA/VGA display type of the Olivetti M24 --- src/machine/m_xt_olivetti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine/m_xt_olivetti.c b/src/machine/m_xt_olivetti.c index 8541fa2c3..bd4403d66 100644 --- a/src/machine/m_xt_olivetti.c +++ b/src/machine/m_xt_olivetti.c @@ -721,7 +721,7 @@ m24_read(uint16_t port, void *priv) ret |= ((fdd_count - 1) << 6); /* Switches 5, 6 - monitor type */ - if (video_is_mda()) + if (video_is_ega_vga()) ret |= 0x30; else if (video_is_cga()) ret |= 0x20; /* 0x10 would be 40x25 */