F2 now resets keyboard. (Fixes #639)

This commit is contained in:
tomcw 2019-04-16 21:24:32 +01:00
parent 0d112158d0
commit ec74b9de6b
2 changed files with 2 additions and 0 deletions

View File

@ -2189,6 +2189,7 @@ void ResetMachineState ()
PravetsReset(); PravetsReset();
sg_Disk2Card.Boot(); sg_Disk2Card.Boot();
VideoResetState(); VideoResetState();
KeybReset();
sg_SSC.CommReset(); sg_SSC.CommReset();
PrintReset(); PrintReset();
JoyReset(); JoyReset();

View File

@ -68,6 +68,7 @@ void KeybSetAltGrSendsWM_CHAR(bool state)
void KeybReset() void KeybReset()
{ {
keycode = 0;
keywaiting = 0; keywaiting = 0;
} }