mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-13 22:08:34 +00:00
input_keyboard_line_toggle_osk - early return if OSK is not
enabled
This commit is contained in:
parent
10fd97c5d0
commit
bae3650d44
@ -39,6 +39,9 @@ struct input_keyboard_line
|
||||
|
||||
static void input_keyboard_line_toggle_osk(bool enable)
|
||||
{
|
||||
if (!g_settings.osk.enable)
|
||||
return;
|
||||
|
||||
rarch_main_command(RARCH_CMD_OVERLAY_DEINIT);
|
||||
driver.osk_active = enable;
|
||||
rarch_main_command(RARCH_CMD_OVERLAY_INIT);
|
||||
|
Loading…
Reference in New Issue
Block a user