|
|
@ -49,7 +49,6 @@ import org.yuzu.yuzu_emu.utils.ForegroundService |
|
|
import org.yuzu.yuzu_emu.utils.InputHandler |
|
|
import org.yuzu.yuzu_emu.utils.InputHandler |
|
|
import org.yuzu.yuzu_emu.utils.Log |
|
|
import org.yuzu.yuzu_emu.utils.Log |
|
|
import org.yuzu.yuzu_emu.utils.MemoryUtil |
|
|
import org.yuzu.yuzu_emu.utils.MemoryUtil |
|
|
import org.yuzu.yuzu_emu.utils.NativeConfig |
|
|
|
|
|
import org.yuzu.yuzu_emu.utils.NfcReader |
|
|
import org.yuzu.yuzu_emu.utils.NfcReader |
|
|
import org.yuzu.yuzu_emu.utils.ThemeHelper |
|
|
import org.yuzu.yuzu_emu.utils.ThemeHelper |
|
|
import java.text.NumberFormat |
|
|
import java.text.NumberFormat |
|
|
@ -171,11 +170,6 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener { |
|
|
stopMotionSensorListener() |
|
|
stopMotionSensorListener() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
override fun onStop() { |
|
|
|
|
|
super.onStop() |
|
|
|
|
|
NativeConfig.saveGlobalConfig() |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun onUserLeaveHint() { |
|
|
override fun onUserLeaveHint() { |
|
|
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) { |
|
|
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) { |
|
|
if (BooleanSetting.PICTURE_IN_PICTURE.getBoolean() && !isInPictureInPictureMode) { |
|
|
if (BooleanSetting.PICTURE_IN_PICTURE.getBoolean() && !isInPictureInPictureMode) { |
|
|
|