PS/2: Fix build.

Copy/paste error from refactoring, sorry about that.
This commit is contained in:
Augustin Cavalier 2020-02-20 13:32:35 -05:00
parent 544e086e8f
commit 35b4b2373a
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ keyboard_handle_int(ps2_dev *dev)
emergencyKeyStatus &= ~(scancode == LEFT_ALT_KEY
? EMERGENCY_LEFT_ALT : EMERGENCY_RIGHT_ALT);
}
} else if (scancode == SYS_REQ_KEY || scancode == PRNT_SCRN_KEY_DOWN) {
} else if (scancode == SYS_REQ_KEY || scancode == PRNT_SCRN_KEY) {
if (keyInfo.is_keydown)
emergencyKeyStatus |= EMERGENCY_SYS_REQ;
else