mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(OSX) Turn poll_iteration into static function
This commit is contained in:
parent
3dbadc3c51
commit
ea66f9d79d
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user