dolphin-emulator/Source/Android/app
mahdihijazi 136e835fb4 [Android] Support restore emulator state after the emulation screen is killed
1) Most of the times the native heap is kept around even after the activity
is killed, we can ask the native code if it is still running and resume
the emulation if that is the case.

2) In case the native heap is freed and the emulation can't resume we used
a temporary state to load on the game boot.

I couldn't find a way to test this, if you want to test this schnario,
add this block to EmulationFragment.

public void onDestroy()
{
	stopEmulation();
	super.onDestroy();
}

onDestroy is only called if the acivity killed by the OS and not be rotation
change whihch in this case will make sure to kill the emulation and start
again when the activiy is re-created.
2017-12-28 23:50:25 +01:00
..
src [Android] Support restore emulator state after the emulation screen is killed 2017-12-28 23:50:25 +01:00
.gitignore Android: Update the gradle file to use android studio 2.2 cmake. 2016-10-05 23:44:10 +02:00
build.gradle Enable Java 8 features in Dolphin 2017-12-17 16:52:19 +01:00
proguard-rules.pro Convert the Android source code to the directory structure of a Gradle-based Android Studio project. 2015-05-02 21:49:17 -04:00