From 173bc480534b4de3c016199f6428d73d2e49a098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Mon, 8 Jun 2015 21:06:28 +0000 Subject: [PATCH] [NTVDM]: Fix my fix (r68005) of fix of r68003 aka. properly set the FirstBoot variable so that we can detect cold reboots. svn path=/trunk/; revision=68082 --- reactos/subsystems/mvdm/ntvdm/bios/bios32/bios32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsystems/mvdm/ntvdm/bios/bios32/bios32.c b/reactos/subsystems/mvdm/ntvdm/bios/bios32/bios32.c index 4e608b5873c..e64e829fb4f 100644 --- a/reactos/subsystems/mvdm/ntvdm/bios/bios32/bios32.c +++ b/reactos/subsystems/mvdm/ntvdm/bios/bios32/bios32.c @@ -892,7 +892,6 @@ Bios32Post(LPWORD Stack) EmulatorTerminate(); return; } - FirstBoot = FALSE; break; } @@ -907,6 +906,8 @@ Bios32Post(LPWORD Stack) break; } + FirstBoot = FALSE; + /* Initialize the BDA and the BIOS ROM Information */ InitializeBiosData(); InitializeBiosInfo();