From 077304fb837c955f789506ae84a850cff019ee9a Mon Sep 17 00:00:00 2001 From: SarahW Date: Wed, 17 Apr 2019 18:17:35 +0100 Subject: [PATCH] Disable memory > 640kb on XT systems when EGA/VGA cards in use. Patch from Greatpsycho. --- src/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pc.c b/src/pc.c index faeaa1a..791dbb1 100644 --- a/src/pc.c +++ b/src/pc.c @@ -417,7 +417,7 @@ void resetpchard() disc_load(1, discfns[1]); model_init(); - if (!AT) + if (!AT && models[model].max_ram > 640 && models[model].max_ram <= 768 && !video_is_ega_vga()) mem_set_704kb(); mouse_emu_init(); video_init();