Browse Source
Merge pull request #12560 from GayPotatoEmma/master
android: add basic support for google game dashboard
pull/15/merge
Charles Lombardo
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
10 additions and
0 deletions
-
src/android/app/src/main/AndroidManifest.xml
-
src/android/app/src/main/res/xml/game_mode_config.xml
|
|
@ -31,6 +31,9 @@ SPDX-License-Identifier: GPL-3.0-or-later |
|
|
android:dataExtractionRules="@xml/data_extraction_rules_api_31" |
|
|
android:dataExtractionRules="@xml/data_extraction_rules_api_31" |
|
|
android:enableOnBackInvokedCallback="true"> |
|
|
android:enableOnBackInvokedCallback="true"> |
|
|
|
|
|
|
|
|
|
|
|
<meta-data android:name="android.game_mode_config" |
|
|
|
|
|
android:resource="@xml/game_mode_config" /> |
|
|
|
|
|
|
|
|
<activity |
|
|
<activity |
|
|
android:name="org.yuzu.yuzu_emu.ui.main.MainActivity" |
|
|
android:name="org.yuzu.yuzu_emu.ui.main.MainActivity" |
|
|
android:exported="true" |
|
|
android:exported="true" |
|
|
|
|
|
@ -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"/> |