Author: hbelusca
Date: Fri Sep 26 22:39:21 2014
New Revision: 64317
URL:
http://svn.reactos.org/svn/reactos?rev=64317&view=rev
Log:
[NTVDM]: Improve diagnostics.
Modified:
trunk/reactos/subsystems/ntvdm/hardware/vga.c
Modified: trunk/reactos/subsystems/ntvdm/hardware/vga.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/hardware/…
==============================================================================
--- trunk/reactos/subsystems/ntvdm/hardware/vga.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/hardware/vga.c [iso-8859-1] Fri Sep 26 22:39:21 2014
@@ -1117,7 +1117,7 @@
/* Enter new text mode */
if (!VgaEnterTextMode(&Resolution))
{
- DisplayMessage(L"An unexpected VGA error occurred while switching into
text mode.");
+ DisplayMessage(L"An unexpected VGA error occurred while switching into
text mode. Error: %u", GetLastError());
EmulatorTerminate();
return;
}
@@ -1127,7 +1127,7 @@
/* Enter graphics mode */
if (!VgaEnterGraphicsMode(&Resolution))
{
- DisplayMessage(L"An unexpected VGA error occurred while switching into
graphics mode.");
+ DisplayMessage(L"An unexpected VGA error occurred while switching into
graphics mode. Error: %u", GetLastError());
EmulatorTerminate();
return;
}