(OSX) Turn poll_iteration into static function

This commit is contained in:
Twinaphex 2015-03-12 05:02:53 +01:00
parent 3dbadc3c51
commit ea66f9d79d

View File

@ -188,7 +188,7 @@ static char** waiting_argv;
waiting_argc = 0; waiting_argc = 0;
} }
- (void) poll_iteration static void poll_iteration(void)
{ {
NSEvent *event; NSEvent *event;
@ -213,7 +213,7 @@ static char** waiting_argv;
int ret = 0; int ret = 0;
while (ret != -1) while (ret != -1)
{ {
[self poll_iteration]; poll_iteration();
ret = rarch_main_iterate(); ret = rarch_main_iterate();
while(CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0.002, FALSE) == kCFRunLoopRunHandledSource); while(CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0.002, FALSE) == kCFRunLoopRunHandledSource);
} }