libnx: add fail-safe to swkbd

This commit is contained in:
natinusala 2019-01-04 14:37:28 +01:00
parent a164f77c94
commit 6cd7c49c66

View File

@ -141,6 +141,10 @@ bool menu_input_dialog_get_display_kb(void)
}
}
/* fail-safe */
if (menu_input_dialog_keyboard_display)
input_keyboard_event(true, '\n', '\n', 0, RETRO_DEVICE_KEYBOARD);
return false;
}
else