Author: aandrejevic
Date: Sun Oct 27 01:33:15 2013
New Revision: 60764
URL:
http://svn.reactos.org/svn/reactos?rev=60764&view=rev
Log:
[NTVDM]
Push scancodes on to the BIOS keyboard queue even if they're not ASCII.
Modified:
branches/ntvdm/subsystems/ntvdm/bios.c
Modified: branches/ntvdm/subsystems/ntvdm/bios.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/bios.c?r…
==============================================================================
--- branches/ntvdm/subsystems/ntvdm/bios.c [iso-8859-1] (original)
+++ branches/ntvdm/subsystems/ntvdm/bios.c [iso-8859-1] Sun Oct 27 01:33:15 2013
@@ -1115,11 +1115,15 @@
BiosKeyboardMap[VirtualKey] |= (1 << 7);
/* Find out which character this is */
- if (ToAscii(VirtualKey, ScanCode, BiosKeyboardMap, &Character, 0)
> 0)
+ if (ToAscii(VirtualKey, ScanCode, BiosKeyboardMap, &Character, 0)
== 0)
{
- /* Push it onto the BIOS keyboard queue */
- BiosKbdBufferPush((ScanCode << 8) | (Character &
0xFF));
+ /* Not ASCII */
+ Character = 0;
}
+
+ /* Push it onto the BIOS keyboard queue */
+ BiosKbdBufferPush((ScanCode << 8) | (Character & 0xFF));
+
}
else
{