Fix EGA/VGA display type of the Olivetti M24

This commit is contained in:
David Hrdlička
2022-07-02 00:33:38 +02:00
committed by GitHub
parent 4e8a27a214
commit b831b87355

View File

@@ -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 */