mirror of
https://github.com/reactos/reactos.git
synced 2024-07-07 05:05:09 +00:00
[NTVDM]: Improve diagnostics.
svn path=/trunk/; revision=64317
This commit is contained in:
parent
85b85921b8
commit
3ac9edfd99
|
@ -1117,7 +1117,7 @@ static VOID VgaChangeMode(VOID)
|
|||
/* 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 @@ static VOID VgaChangeMode(VOID)
|
|||
/* 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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue