mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	service/frd: Migrate logging macros
This commit is contained in:
		
							parent
							
								
									a50cd37aa6
								
							
						
					
					
						commit
						705eb597c8
					
				
					 1 changed files with 8 additions and 8 deletions
				
			
		|  | @ -31,7 +31,7 @@ void Module::Interface::GetMyPresence(Kernel::HLERequestContext& ctx) { | ||||||
|     rb.Push(RESULT_SUCCESS); |     rb.Push(RESULT_SUCCESS); | ||||||
|     rb.PushStaticBuffer(buffer, 0); |     rb.PushStaticBuffer(buffer, 0); | ||||||
| 
 | 
 | ||||||
|     LOG_WARNING(Service_FRD, "(STUBBED) called"); |     NGLOG_WARNING(Service_FRD, "(STUBBED) called"); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Module::Interface::GetFriendKeyList(Kernel::HLERequestContext& ctx) { | void Module::Interface::GetFriendKeyList(Kernel::HLERequestContext& ctx) { | ||||||
|  | @ -46,7 +46,7 @@ void Module::Interface::GetFriendKeyList(Kernel::HLERequestContext& ctx) { | ||||||
|     rb.Push<u32>(0); // 0 friends
 |     rb.Push<u32>(0); // 0 friends
 | ||||||
|     rb.PushStaticBuffer(buffer, 0); |     rb.PushStaticBuffer(buffer, 0); | ||||||
| 
 | 
 | ||||||
|     LOG_WARNING(Service_FRD, "(STUBBED) called, unknown=%u, frd_count=%u", unknown, frd_count); |     NGLOG_WARNING(Service_FRD, "(STUBBED) called, unknown={}, frd_count={}", unknown, frd_count); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Module::Interface::GetFriendProfile(Kernel::HLERequestContext& ctx) { | void Module::Interface::GetFriendProfile(Kernel::HLERequestContext& ctx) { | ||||||
|  | @ -61,7 +61,7 @@ void Module::Interface::GetFriendProfile(Kernel::HLERequestContext& ctx) { | ||||||
|     rb.Push(RESULT_SUCCESS); |     rb.Push(RESULT_SUCCESS); | ||||||
|     rb.PushStaticBuffer(buffer, 0); |     rb.PushStaticBuffer(buffer, 0); | ||||||
| 
 | 
 | ||||||
|     LOG_WARNING(Service_FRD, "(STUBBED) called, count=%u", count); |     NGLOG_WARNING(Service_FRD, "(STUBBED) called, count={}", count); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Module::Interface::GetFriendAttributeFlags(Kernel::HLERequestContext& ctx) { | void Module::Interface::GetFriendAttributeFlags(Kernel::HLERequestContext& ctx) { | ||||||
|  | @ -76,7 +76,7 @@ void Module::Interface::GetFriendAttributeFlags(Kernel::HLERequestContext& ctx) | ||||||
|     rb.Push(RESULT_SUCCESS); |     rb.Push(RESULT_SUCCESS); | ||||||
|     rb.PushStaticBuffer(buffer, 0); |     rb.PushStaticBuffer(buffer, 0); | ||||||
| 
 | 
 | ||||||
|     LOG_WARNING(Service_FRD, "(STUBBED) called, count=%u", count); |     NGLOG_WARNING(Service_FRD, "(STUBBED) called, count={}", count); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Module::Interface::GetMyFriendKey(Kernel::HLERequestContext& ctx) { | void Module::Interface::GetMyFriendKey(Kernel::HLERequestContext& ctx) { | ||||||
|  | @ -85,7 +85,7 @@ void Module::Interface::GetMyFriendKey(Kernel::HLERequestContext& ctx) { | ||||||
|     rb.Push(RESULT_SUCCESS); |     rb.Push(RESULT_SUCCESS); | ||||||
|     rb.PushRaw(frd->my_friend_key); |     rb.PushRaw(frd->my_friend_key); | ||||||
| 
 | 
 | ||||||
|     LOG_WARNING(Service_FRD, "(STUBBED) called"); |     NGLOG_WARNING(Service_FRD, "(STUBBED) called"); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Module::Interface::GetMyScreenName(Kernel::HLERequestContext& ctx) { | void Module::Interface::GetMyScreenName(Kernel::HLERequestContext& ctx) { | ||||||
|  | @ -102,7 +102,7 @@ void Module::Interface::GetMyScreenName(Kernel::HLERequestContext& ctx) { | ||||||
|     rb.Push(RESULT_SUCCESS); |     rb.Push(RESULT_SUCCESS); | ||||||
|     rb.PushRaw(screen_name); |     rb.PushRaw(screen_name); | ||||||
| 
 | 
 | ||||||
|     LOG_WARNING(Service_FRD, "(STUBBED) called"); |     NGLOG_WARNING(Service_FRD, "(STUBBED) called"); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Module::Interface::UnscrambleLocalFriendCode(Kernel::HLERequestContext& ctx) { | void Module::Interface::UnscrambleLocalFriendCode(Kernel::HLERequestContext& ctx) { | ||||||
|  | @ -130,7 +130,7 @@ void Module::Interface::UnscrambleLocalFriendCode(Kernel::HLERequestContext& ctx | ||||||
|     // scambled_friend_code[5]; unscrambled_friend_code[3] = scambled_friend_code[3] ^
 |     // scambled_friend_code[5]; unscrambled_friend_code[3] = scambled_friend_code[3] ^
 | ||||||
|     // scambled_friend_code[5];
 |     // scambled_friend_code[5];
 | ||||||
| 
 | 
 | ||||||
|     LOG_WARNING(Service_FRD, "(STUBBED) called"); |     NGLOG_WARNING(Service_FRD, "(STUBBED) called"); | ||||||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 2); |     IPC::RequestBuilder rb = rp.MakeBuilder(1, 2); | ||||||
|     rb.Push(RESULT_SUCCESS); |     rb.Push(RESULT_SUCCESS); | ||||||
|     rb.PushStaticBuffer(unscrambled_friend_codes, 0); |     rb.PushStaticBuffer(unscrambled_friend_codes, 0); | ||||||
|  | @ -144,7 +144,7 @@ void Module::Interface::SetClientSdkVersion(Kernel::HLERequestContext& ctx) { | ||||||
|     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); |     IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); | ||||||
|     rb.Push(RESULT_SUCCESS); |     rb.Push(RESULT_SUCCESS); | ||||||
| 
 | 
 | ||||||
|     LOG_WARNING(Service_FRD, "(STUBBED) called, version: 0x%08X", version); |     NGLOG_WARNING(Service_FRD, "(STUBBED) called, version: 0x{:08X}", version); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| Module::Module() = default; | Module::Module() = default; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue