diff options
Diffstat (limited to '')
-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 android:dataExtractionRules="@xml/data_extraction_rules_api_31" android:enableOnBackInvokedCallback="true"> + <meta-data android:name="android.game_mode_config" + android:resource="@xml/game_mode_config" /> + <activity android:name="org.yuzu.yuzu_emu.ui.main.MainActivity" 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<game-mode-config + xmlns:android="http://schemas.android.com/apk/res/android" + android:supportsBatteryGameMode="true" + android:supportsPerformanceGameMode="true" + android:allowGameDownscaling="false" + android:allowGameFpsOverride="false"/> |