Skip to content

Commit

Permalink
Refinements to rarch_main_iterate_time_to_exit
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Sep 30, 2015
1 parent c9a0a48 commit c926b9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ static INLINE int rarch_main_iterate_time_to_exit(event_cmd_state_t *cmd)
return -1;
}

return 0;
return 1;
}

/**
Expand Down Expand Up @@ -972,7 +972,7 @@ int rarch_main_iterate(unsigned *sleep_ms)

ret = rarch_main_iterate_time_to_exit(&cmd);

if (ret == -1)
if (ret != 1)
return -1;


Expand Down

0 comments on commit c926b9f

Please sign in to comment.