Change interpretation of iteration return

This commit is contained in:
Jay McCarthy 2014-10-04 09:11:26 -04:00
parent 7950de0460
commit 0adcd2df76
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ static void do_iteration(void)
return;
}
if (ret)
if (ret == 0)
CFRunLoopWakeUp(CFRunLoopGetMain());
/* TODO/FIXME

View File

@ -3220,8 +3220,8 @@ static inline int time_to_exit(retro_input_t input)
}
/* Returns:
* 0 - Successful iteration.
* 1 - Forcibly wake up the loop.
* 0 - Forcibly wake up the loop.
* 1 - Wait until input to wake up the loop
* -1 - Quit out of iteration loop.
*/