mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 07:16:36 +00:00
(Android) Cut down on engine_draw_frame usage
This commit is contained in:
parent
ee1194d19a
commit
bbbdb1ccc0
@ -86,10 +86,7 @@ static void engine_handle_cmd(struct android_app* app, int32_t cmd)
|
||||
case APP_CMD_INIT_WINDOW:
|
||||
// The window is being shown, get it ready.
|
||||
if (g_android.app->window != NULL)
|
||||
{
|
||||
gfx_ctx_init();
|
||||
engine_draw_frame();
|
||||
}
|
||||
break;
|
||||
case APP_CMD_TERM_WINDOW:
|
||||
// The window is being hidden or closed, clean it up.
|
||||
@ -115,7 +112,6 @@ static void engine_handle_cmd(struct android_app* app, int32_t cmd)
|
||||
g_android.accelerometerSensor);
|
||||
// Also stop animating.
|
||||
g_android.animating = 0;
|
||||
engine_draw_frame();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ public class phoenix extends Activity
|
||||
if(requestCode == ACTIVITY_LOAD_ROM)
|
||||
{
|
||||
Intent myIntent = new Intent(this, NativeActivity.class);
|
||||
startActivity(myIntent);
|
||||
startActivity(myIntent);
|
||||
/*
|
||||
rruntime.settings_set_defaults();
|
||||
rruntime.load_game(data.getStringExtra("PATH"), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user