mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Do away with some NULL checks
This commit is contained in:
parent
d24c1a280d
commit
07d86a7feb
@ -619,9 +619,6 @@ 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