mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	android: add basic support for google game dashboard (#7430)
This adds support for the Performance and Battery Saver modes in the Game Dashboard mostly found on Google Pixel devices. This does not yet define the specifics for the performance modes but does provide the initial basic support. Co-authored-by: Emma <153868115+gaypotatoemma@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									de993dcfbd
								
							
						
					
					
						commit
						b9c9beeee5
					
				
					 2 changed files with 10 additions and 0 deletions
				
			
		|  | @ -42,6 +42,9 @@ | |||
|         android:banner="@mipmap/ic_launcher" | ||||
|         android:requestLegacyExternalStorage="true"> | ||||
| 
 | ||||
|         <meta-data android:name="android.game_mode_config" | ||||
|             android:resource="@xml/game_mode_config" /> | ||||
| 
 | ||||
|         <activity | ||||
|             android:name="org.citra.citra_emu.ui.main.MainActivity" | ||||
|             android:theme="@style/Theme.Citra.Splash.Main" | ||||
|  |  | |||
							
								
								
									
										7
									
								
								src/android/app/src/main/res/xml/game_mode_config.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								src/android/app/src/main/res/xml/game_mode_config.xml
									
										
									
									
									
										Normal file
									
								
							|  | @ -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"/> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue