mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	AC Migrate Logging Macros (#3838)
* service/ac: Migrate logging macros * service/ac: Added 0x on hex * service/ac: Changed lowercase x to uppercase X
This commit is contained in:
		
							parent
							
								
									574824a26c
								
							
						
					
					
						commit
						f410974644
					
				
					 1 changed files with 10 additions and 10 deletions
				
			
		|  | @ -27,7 +27,7 @@ void Module::Interface::CreateDefaultConfig(Kernel::HLERequestContext& ctx) { | |||
|     rb.Push(RESULT_SUCCESS); | ||||
|     rb.PushStaticBuffer(std::move(buffer), 0); | ||||
| 
 | ||||
|     LOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
|     NGLOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
| } | ||||
| 
 | ||||
| void Module::Interface::ConnectAsync(Kernel::HLERequestContext& ctx) { | ||||
|  | @ -45,7 +45,7 @@ void Module::Interface::ConnectAsync(Kernel::HLERequestContext& ctx) { | |||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
| 
 | ||||
|     LOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
|     NGLOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
| } | ||||
| 
 | ||||
| void Module::Interface::GetConnectResult(Kernel::HLERequestContext& ctx) { | ||||
|  | @ -84,7 +84,7 @@ void Module::Interface::GetCloseResult(Kernel::HLERequestContext& ctx) { | |||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
| 
 | ||||
|     LOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
|     NGLOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
| } | ||||
| 
 | ||||
| void Module::Interface::GetWifiStatus(Kernel::HLERequestContext& ctx) { | ||||
|  | @ -97,7 +97,7 @@ void Module::Interface::GetWifiStatus(Kernel::HLERequestContext& ctx) { | |||
|     rb.Push(RESULT_SUCCESS); | ||||
|     rb.Push<u32>(0); // Connection type set to none
 | ||||
| 
 | ||||
|     LOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
|     NGLOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
| } | ||||
| 
 | ||||
| void Module::Interface::GetInfraPriority(Kernel::HLERequestContext& ctx) { | ||||
|  | @ -108,7 +108,7 @@ void Module::Interface::GetInfraPriority(Kernel::HLERequestContext& ctx) { | |||
|     rb.Push(RESULT_SUCCESS); | ||||
|     rb.Push<u32>(0); // Infra Priority, default 0
 | ||||
| 
 | ||||
|     LOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
|     NGLOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
| } | ||||
| 
 | ||||
| void Module::Interface::SetRequestEulaVersion(Kernel::HLERequestContext& ctx) { | ||||
|  | @ -125,7 +125,7 @@ void Module::Interface::SetRequestEulaVersion(Kernel::HLERequestContext& ctx) { | |||
|     rb.Push(RESULT_SUCCESS); | ||||
|     rb.PushStaticBuffer(std::move(ac_config), 0); | ||||
| 
 | ||||
|     LOG_WARNING(Service_AC, "(STUBBED) called, major=%u, minor=%u", major, minor); | ||||
|     NGLOG_WARNING(Service_AC, "(STUBBED) called, major={}, minor={}", major, minor); | ||||
| } | ||||
| 
 | ||||
| void Module::Interface::RegisterDisconnectEvent(Kernel::HLERequestContext& ctx) { | ||||
|  | @ -140,7 +140,7 @@ void Module::Interface::RegisterDisconnectEvent(Kernel::HLERequestContext& ctx) | |||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
| 
 | ||||
|     LOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
|     NGLOG_WARNING(Service_AC, "(STUBBED) called"); | ||||
| } | ||||
| 
 | ||||
| void Module::Interface::IsConnected(Kernel::HLERequestContext& ctx) { | ||||
|  | @ -153,8 +153,8 @@ void Module::Interface::IsConnected(Kernel::HLERequestContext& ctx) { | |||
|     rb.Push(RESULT_SUCCESS); | ||||
|     rb.Push(ac->ac_connected); | ||||
| 
 | ||||
|     LOG_WARNING(Service_AC, "(STUBBED) called unk=%08X descriptor=%08X param=%08X", unk, | ||||
|                 unk_descriptor, unk_param); | ||||
|     NGLOG_WARNING(Service_AC, "(STUBBED) called unk=0x{:08X} descriptor=0x{:08X} param=0x{:08X}", unk, | ||||
|                   unk_descriptor, unk_param); | ||||
| } | ||||
| 
 | ||||
| void Module::Interface::SetClientVersion(Kernel::HLERequestContext& ctx) { | ||||
|  | @ -163,7 +163,7 @@ void Module::Interface::SetClientVersion(Kernel::HLERequestContext& ctx) { | |||
|     u32 version = rp.Pop<u32>(); | ||||
|     rp.Skip(2, false); // ProcessId descriptor
 | ||||
| 
 | ||||
|     LOG_WARNING(Service_AC, "(STUBBED) called, version: 0x%08X", version); | ||||
|     NGLOG_WARNING(Service_AC, "(STUBBED) called, version: 0x{:08X}", version); | ||||
| 
 | ||||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||
|     rb.Push(RESULT_SUCCESS); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue