From 0adcd2df76ea97a7b637be8c3e2ad07e6171ea7e Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Sat, 4 Oct 2014 09:11:26 -0400 Subject: [PATCH] Change interpretation of iteration return --- frontend/platform/platform_apple.c | 2 +- retroarch.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/platform/platform_apple.c b/frontend/platform/platform_apple.c index 3c9dfd0edc..8026388315 100644 --- a/frontend/platform/platform_apple.c +++ b/frontend/platform/platform_apple.c @@ -36,7 +36,7 @@ static void do_iteration(void) return; } - if (ret) + if (ret == 0) CFRunLoopWakeUp(CFRunLoopGetMain()); /* TODO/FIXME diff --git a/retroarch.c b/retroarch.c index 496b5d844e..d20034a611 100644 --- a/retroarch.c +++ b/retroarch.c @@ -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. */