mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(iOS) Cleanups
This commit is contained in:
parent
75b6bd21c3
commit
c3cadd5743
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user