Better error handling
This commit is contained in:
parent
e87b0278d9
commit
c31b3e857c
|
@ -422,6 +422,9 @@ static void set_input_descriptors()
|
|||
|
||||
bool retro_load_game(const struct retro_game_info* info)
|
||||
{
|
||||
if (!info)
|
||||
return false;
|
||||
|
||||
check_variables(1);
|
||||
set_input_descriptors();
|
||||
|
||||
|
|
Loading…
Reference in New Issue