mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
(ui_cocoa.m) Cleanups
This commit is contained in:
parent
0b1a204949
commit
b3642df33f
@ -111,6 +111,7 @@ static void app_terminate(void)
|
|||||||
static uint32_t old_flags = 0;
|
static uint32_t old_flags = 0;
|
||||||
uint32_t new_flags = event.modifierFlags;
|
uint32_t new_flags = event.modifierFlags;
|
||||||
bool down = (new_flags & old_flags) == old_flags;
|
bool down = (new_flags & old_flags) == old_flags;
|
||||||
|
|
||||||
old_flags = new_flags;
|
old_flags = new_flags;
|
||||||
|
|
||||||
apple_input_keyboard_event(down, event.keyCode,
|
apple_input_keyboard_event(down, event.keyCode,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user