Skip to content

Commit

Permalink
Better error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Jan 24, 2017
1 parent e87b027 commit c31b3e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libretro.c
Expand Up @@ -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();

Expand Down

0 comments on commit c31b3e8

Please sign in to comment.