diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2024-01-07 10:43:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 10:43:53 -0500 |
commit | 1220309323aceccb8389b4ce0eb16497fb21eaeb (patch) | |
tree | 634665dd5801c5fc279b466758d149d81eccf054 /src | |
parent | a972341b5d12ebfa5be4138a741dd570629f3082 (diff) | |
parent | e5de3d5a77a736223edbd0e62562a916ef2aca61 (diff) |
Merge pull request #12560 from GayPotatoEmma/master
android: add basic support for google game dashboard
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 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"/> |