From c3cadd574390dcef00ffea13274ed357766613c8 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sat, 7 Mar 2015 22:06:18 +0100 Subject: [PATCH] (iOS) Cleanups --- apple/iOS/platform.m | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/apple/iOS/platform.m b/apple/iOS/platform.m index 1167dd1fc9..4ea88c14b4 100644 --- a/apple/iOS/platform.m +++ b/apple/iOS/platform.m @@ -268,27 +268,11 @@ void notify_content_loaded(void) { [self apple_start_iteration]; } -#if 0 -- (void) poll_iteration -{ - UIEvent *event; - - do - { - event = [UIApplication nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate distantPast] inMode:NSDefaultRunLoopMode dequeue:YES]; - - - [UIApplication sendEvent: event]; - }while(event != nil); -} -#endif - - (void) do_iteration { int ret = 0; while (ret != -1) { - //[self poll_iteration]; ret = rarch_main_iterate(); while(CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0.002, FALSE) == kCFRunLoopRunHandledSource); }