mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(OSX) Build fix
This commit is contained in:
parent
ad60a4fa1b
commit
f0f615c38a
@ -560,7 +560,7 @@ uint64_t menu_input(void)
|
|||||||
bool menu_custom_bind_keyboard_cb(void *data, unsigned code)
|
bool menu_custom_bind_keyboard_cb(void *data, unsigned code)
|
||||||
{
|
{
|
||||||
rgui_handle_t *rgui = (rgui_handle_t*)data;
|
rgui_handle_t *rgui = (rgui_handle_t*)data;
|
||||||
rgui->binds.target->key = (retro_key)code;
|
rgui->binds.target->key = (unsigned)code;
|
||||||
rgui->binds.begin++;
|
rgui->binds.begin++;
|
||||||
rgui->binds.target++;
|
rgui->binds.target++;
|
||||||
rgui->binds.timeout_end = rarch_get_time_usec() + RGUI_KEYBOARD_BIND_TIMEOUT_SECONDS * 1000000;
|
rgui->binds.timeout_end = rarch_get_time_usec() + RGUI_KEYBOARD_BIND_TIMEOUT_SECONDS * 1000000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user