mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Revert "Do away with some NULL checks"
This reverts commit 07d86a7feb5b43b3f2f5685d76599094996f984f.
This commit is contained in:
parent
3d7fbd355e
commit
f03e22b003
@ -619,6 +619,9 @@ uint64_t input_keys_pressed(void)
|
||||
unsigned i;
|
||||
uint64_t ret = 0;
|
||||
|
||||
if (!current_input || !current_input_data)
|
||||
return ret;
|
||||
|
||||
if (current_input->key_pressed &&
|
||||
check_input_driver_block_hotkey(
|
||||
current_input->key_pressed(current_input_data, RARCH_ENABLE_HOTKEY)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user