Revert "Do away with some NULL checks"

This reverts commit 07d86a7feb5b43b3f2f5685d76599094996f984f.
This commit is contained in:
twinaphex 2016-10-22 17:45:14 +02:00
parent 3d7fbd355e
commit f03e22b003

View File

@ -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)))