mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
AGOS: Fixed backspace under OS X in Personal Nightmare
svn-id: r42591
This commit is contained in:
parent
1d40f78499
commit
24e18ae215
@ -664,10 +664,11 @@ void AGOSEngine_PN::handleKeyboard() {
|
||||
}
|
||||
}
|
||||
if (chr == -1) {
|
||||
chr = _keyPressed.ascii;
|
||||
if (chr == 8 || chr == 13) {
|
||||
if (_keyPressed.keycode == Common::KEYCODE_BACKSPACE || _keyPressed.keycode == Common::KEYCODE_RETURN) {
|
||||
chr = _keyPressed.keycode;
|
||||
addChar(chr);
|
||||
} else if (!(_videoLockOut & 0x10)) {
|
||||
chr = _keyPressed.ascii;
|
||||
if (chr >= 32)
|
||||
addChar(chr);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user