mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-08 15:20:45 +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())
|
||||
title = NativeLibrary.GetCurrentTitleDescription()
|
||||
|
||||
if (Build.VERSION.SDK_INT >= 24) {
|
||||
getWindow().setSustainedPerformanceMode(true)
|
||||
}
|
||||
|
||||
if (skylanderSlots.isEmpty()) {
|
||||
for (i in 0..7) {
|
||||
skylanderSlots.add(SkylanderSlot(getString(R.string.skylander_slot, i + 1), i))
|
||||
|
Loading…
Reference in New Issue
Block a user