Author: hbelusca
Date: Sun Oct 27 22:10:51 2013
New Revision: 60775
URL:
http://svn.reactos.org/svn/reactos?rev=60775&view=rev
Log:
[NTVDM]: DPRINT1 ReadConsoleInput failures (for debugging purposes) and remove an unneeded
comment.
Modified:
branches/ntvdm/subsystems/ntvdm/ps2.c
Modified: branches/ntvdm/subsystems/ntvdm/ps2.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/ps2.c?re…
==============================================================================
--- branches/ntvdm/subsystems/ntvdm/ps2.c [iso-8859-1] (original)
+++ branches/ntvdm/subsystems/ntvdm/ps2.c [iso-8859-1] Sun Oct 27 22:10:51 2013
@@ -277,9 +277,9 @@
/* Wait for an input record */
if (!ReadConsoleInput(ConsoleInput, &InputRecord, 1, &Count))
{
- DPRINT1("Error reading console input\n");
- return GetLastError();
-
+ DWORD LastError = GetLastError();
+ DPRINT1("Error reading console input (0x%p, %lu) - Error %lu\n",
ConsoleInput, Count, LastError);
+ return LastError;
}
ASSERT(Count != 0);
@@ -300,8 +300,6 @@
KeyboardQueuePush(ScanCode);
}
- /* TODO: Update the keyboard shift status flags */
-
/* Keyboard IRQ */
PicInterruptRequest(1);