mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Fix wrong branch
This commit is contained in:
		
							parent
							
								
									844b9970b4
								
							
						
					
					
						commit
						0c84d59a27
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -68,6 +68,18 @@ void GetBatteryChargeState(Service::Interface* self) { | ||||||
|     LOG_WARNING(Service_PTM, "(STUBBED) called"); |     LOG_WARNING(Service_PTM, "(STUBBED) called"); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | void GetTotalStepCount(Service::Interface* self) { | ||||||
|  |     u32* cmd_buff = Kernel::GetCommandBuffer(); | ||||||
|  | 
 | ||||||
|  |     // TODO: This function is only a stub,
 | ||||||
|  |     // it returns 0 as the total step count
 | ||||||
|  | 
 | ||||||
|  |     cmd_buff[1] = RESULT_SUCCESS.raw; | ||||||
|  |     cmd_buff[2] = 0; | ||||||
|  | 
 | ||||||
|  |     LOG_WARNING(Service_PTM, "(STUBBED) called"); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| void IsLegacyPowerOff(Service::Interface* self) { | void IsLegacyPowerOff(Service::Interface* self) { | ||||||
|     u32* cmd_buff = Kernel::GetCommandBuffer(); |     u32* cmd_buff = Kernel::GetCommandBuffer(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue