(iOS) Couple of quick fixes
This commit is contained in:
parent
2a6abb80b9
commit
960381366f
|
@ -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];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue