svn path=/branches/ntvdm/; revision=60775
/* 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);
KeyboardQueuePush(ScanCode);
}
- /* TODO: Update the keyboard shift status flags */
-
/* Keyboard IRQ */
PicInterruptRequest(1);