mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
Android: Enable sustained performance mode
This commit is contained in:
parent
401d6e70f6
commit
b667a37c5e
@ -130,6 +130,10 @@ class EmulationActivity : AppCompatActivity(), ThemeProvider {
|
|||||||
if (NativeLibrary.IsGameMetadataValid())
|
if (NativeLibrary.IsGameMetadataValid())
|
||||||
title = NativeLibrary.GetCurrentTitleDescription()
|
title = NativeLibrary.GetCurrentTitleDescription()
|
||||||
|
|
||||||
|
if (Build.VERSION.SDK_INT >= 24) {
|
||||||
|
getWindow().setSustainedPerformanceMode(true)
|
||||||
|
}
|
||||||
|
|
||||||
if (skylanderSlots.isEmpty()) {
|
if (skylanderSlots.isEmpty()) {
|
||||||
for (i in 0..7) {
|
for (i in 0..7) {
|
||||||
skylanderSlots.add(SkylanderSlot(getString(R.string.skylander_slot, i + 1), i))
|
skylanderSlots.add(SkylanderSlot(getString(R.string.skylander_slot, i + 1), i))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user