From 285d283861cd961753cf275d8dcbb6b34fe506c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sat, 1 Feb 2014 20:55:57 +0000 Subject: [PATCH] [NTVDM]: Okay, let's clear the VGA memory everytime we change modes... (fixes VGA-->EGA transition in Dave). svn path=/branches/ntvdm/; revision=61907 --- subsystems/ntvdm/bios/vidbios.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subsystems/ntvdm/bios/vidbios.c b/subsystems/ntvdm/bios/vidbios.c index 4bc86b3d54b..0e2bb623698 100644 --- a/subsystems/ntvdm/bios/vidbios.c +++ b/subsystems/ntvdm/bios/vidbios.c @@ -980,7 +980,8 @@ static BOOLEAN VidBiosSetVideoMode(BYTE ModeNumber) * See Ralf Brown: http://www.ctyme.com/intr/rb-0069.htm * for more information. */ - if ((ModeNumber & 0x08) == 0) VgaClearMemory(); + // if ((ModeNumber & 0x08) == 0) VgaClearMemory(); + VgaClearMemory(); // Bda->CrtModeControl; // Bda->CrtColorPaletteMask;