mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
[NTVDM]: DPRINT1 ReadConsoleInput failures (for debugging purposes) and remove an unneeded comment.
svn path=/branches/ntvdm/; revision=60775
This commit is contained in:
parent
b8fa6d1de4
commit
720ab73ec3
1 changed files with 3 additions and 5 deletions
|
@ -277,9 +277,9 @@ DWORD WINAPI InputThreadProc(LPVOID Parameter)
|
||||||
/* Wait for an input record */
|
/* Wait for an input record */
|
||||||
if (!ReadConsoleInput(ConsoleInput, &InputRecord, 1, &Count))
|
if (!ReadConsoleInput(ConsoleInput, &InputRecord, 1, &Count))
|
||||||
{
|
{
|
||||||
DPRINT1("Error reading console input\n");
|
DWORD LastError = GetLastError();
|
||||||
return GetLastError();
|
DPRINT1("Error reading console input (0x%p, %lu) - Error %lu\n", ConsoleInput, Count, LastError);
|
||||||
|
return LastError;
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(Count != 0);
|
ASSERT(Count != 0);
|
||||||
|
@ -300,8 +300,6 @@ DWORD WINAPI InputThreadProc(LPVOID Parameter)
|
||||||
KeyboardQueuePush(ScanCode);
|
KeyboardQueuePush(ScanCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: Update the keyboard shift status flags */
|
|
||||||
|
|
||||||
/* Keyboard IRQ */
|
/* Keyboard IRQ */
|
||||||
PicInterruptRequest(1);
|
PicInterruptRequest(1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue