Skip to content

Commit

Permalink
(Apple) Buildfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Oct 22, 2016
1 parent 07d86a7 commit 3d7fbd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/drivers/ui_cocoa.m
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ - (void) rarch_main
const ui_application_t *application = ui_companion_driver_get_application_ptr();
if (application)
application->process_events();
ret = runloop_iterate(&cmd, &sleep_ms);
ret = runloop_iterate(&sleep_ms);
if (ret == 1 && sleep_ms > 0)
retro_sleep(sleep_ms);
task_queue_ctl(TASK_QUEUE_CTL_CHECK, NULL);
Expand Down
2 changes: 1 addition & 1 deletion ui/drivers/ui_cocoatouch.m
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static void rarch_draw_observer(CFRunLoopObserverRef observer,
CFRunLoopActivity activity, void *info)
{
unsigned sleep_ms = 0;
int ret = runloop_iterate(&cmd, &sleep_ms);
int ret = runloop_iterate(&sleep_ms);

if (ret == 1 && !ui_companion_is_on_foreground() && sleep_ms > 0)
retro_sleep(sleep_ms);
Expand Down

0 comments on commit 3d7fbd3

Please sign in to comment.