mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
fix backspace key on OS X
svn-id: r5887
This commit is contained in:
parent
bdd479f47d
commit
4dc93957da
@ -4577,7 +4577,11 @@ void SimonState::delay(uint amount)
|
||||
if (event.kbd.keycode == 'f')
|
||||
_fast_mode ^= 1;
|
||||
}
|
||||
_key_pressed = (byte)event.kbd.ascii;
|
||||
// Make sure backspace works right (this fixes a small issue on OS X)
|
||||
if (event.kbd.keycode == 8)
|
||||
_key_pressed = 8;
|
||||
else
|
||||
_key_pressed = (byte)event.kbd.ascii;
|
||||
break;
|
||||
|
||||
case OSystem::EVENT_MOUSEMOVE:
|
||||
|
Loading…
Reference in New Issue
Block a user