diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/android/app/src/main/AndroidManifest.xml | 3 | ||||
| -rw-r--r-- | src/android/app/src/main/res/xml/game_mode_config.xml | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml index f10131b24..f011bd696 100644 --- a/src/android/app/src/main/AndroidManifest.xml +++ b/src/android/app/src/main/AndroidManifest.xml | |||
| @@ -31,6 +31,9 @@ SPDX-License-Identifier: GPL-3.0-or-later | |||
| 31 | android:dataExtractionRules="@xml/data_extraction_rules_api_31" | 31 | android:dataExtractionRules="@xml/data_extraction_rules_api_31" |
| 32 | android:enableOnBackInvokedCallback="true"> | 32 | android:enableOnBackInvokedCallback="true"> |
| 33 | 33 | ||
| 34 | <meta-data android:name="android.game_mode_config" | ||
| 35 | android:resource="@xml/game_mode_config" /> | ||
| 36 | |||
| 34 | <activity | 37 | <activity |
| 35 | android:name="org.yuzu.yuzu_emu.ui.main.MainActivity" | 38 | android:name="org.yuzu.yuzu_emu.ui.main.MainActivity" |
| 36 | android:exported="true" | 39 | android:exported="true" |
diff --git a/src/android/app/src/main/res/xml/game_mode_config.xml b/src/android/app/src/main/res/xml/game_mode_config.xml new file mode 100644 index 000000000..b28dd3a11 --- /dev/null +++ b/src/android/app/src/main/res/xml/game_mode_config.xml | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <game-mode-config | ||
| 3 | xmlns:android="http://schemas.android.com/apk/res/android" | ||
| 4 | android:supportsBatteryGameMode="true" | ||
| 5 | android:supportsPerformanceGameMode="true" | ||
| 6 | android:allowGameDownscaling="false" | ||
| 7 | android:allowGameFpsOverride="false"/> | ||