mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Refinements to rarch_main_iterate_time_to_exit
This commit is contained in:
parent
c9a0a48448
commit
c926b9fb06
@ -871,7 +871,7 @@ static INLINE int rarch_main_iterate_time_to_exit(event_cmd_state_t *cmd)
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -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;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user