From 960381366feb5e48246ae11ebf23b49c12232eec Mon Sep 17 00:00:00 2001 From: meancoot Date: Thu, 4 Apr 2013 20:11:24 -0400 Subject: [PATCH] (iOS) Couple of quick fixes --- ios/RetroArch/RAGameView.m | 4 ++-- ios/RetroArch/main.m | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ios/RetroArch/RAGameView.m b/ios/RetroArch/RAGameView.m index 7d6d730ee9..132ef7107f 100644 --- a/ios/RetroArch/RAGameView.m +++ b/ios/RetroArch/RAGameView.m @@ -185,8 +185,8 @@ void ios_get_game_view_size(unsigned *width, unsigned *height) void ios_bind_game_view_fbo() { dispatch_sync(dispatch_get_main_queue(), ^{ - if (g_context) - [g_view display]; + if (g_context) + [g_view bindDrawable]; }); } diff --git a/ios/RetroArch/main.m b/ios/RetroArch/main.m index 2eab3c660a..60d5a46397 100644 --- a/ios/RetroArch/main.m +++ b/ios/RetroArch/main.m @@ -312,6 +312,7 @@ static void event_reload_config(void* userdata) if (pthread_create(&_retroThread, 0, rarch_main_ios, load_data)) { [self rarchExited:NO]; + return; } pthread_detach(_retroThread);