(iOS) Couple of quick fixes

This commit is contained in:
meancoot 2013-04-04 20:11:24 -04:00
parent 2a6abb80b9
commit 960381366f
2 changed files with 3 additions and 2 deletions

View File

@ -185,8 +185,8 @@ void ios_get_game_view_size(unsigned *width, unsigned *height)
void ios_bind_game_view_fbo() void ios_bind_game_view_fbo()
{ {
dispatch_sync(dispatch_get_main_queue(), ^{ dispatch_sync(dispatch_get_main_queue(), ^{
if (g_context) if (g_context)
[g_view display]; [g_view bindDrawable];
}); });
} }

View File

@ -312,6 +312,7 @@ static void event_reload_config(void* userdata)
if (pthread_create(&_retroThread, 0, rarch_main_ios, load_data)) if (pthread_create(&_retroThread, 0, rarch_main_ios, load_data))
{ {
[self rarchExited:NO]; [self rarchExited:NO];
return;
} }
pthread_detach(_retroThread); pthread_detach(_retroThread);