mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	fatal: Move logging macros over to new fmt-compatible ones
This commit is contained in:
		@@ -16,13 +16,13 @@ Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)
 | 
			
		||||
void Module::Interface::FatalSimple(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
    IPC::RequestParser rp(ctx);
 | 
			
		||||
    u32 error_code = rp.Pop<u32>();
 | 
			
		||||
    LOG_WARNING(Service_Fatal, "(STUBBED) called, error_code=0x%X", error_code);
 | 
			
		||||
    NGLOG_WARNING(Service_Fatal, "(STUBBED) called, error_code={:#X}", error_code);
 | 
			
		||||
    IPC::ResponseBuilder rb{ctx, 2};
 | 
			
		||||
    rb.Push(RESULT_SUCCESS);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Module::Interface::TransitionToFatalError(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
    LOG_WARNING(Service_Fatal, "(STUBBED) called");
 | 
			
		||||
    NGLOG_WARNING(Service_Fatal, "(STUBBED) called");
 | 
			
		||||
    IPC::ResponseBuilder rb{ctx, 2};
 | 
			
		||||
    rb.Push(RESULT_SUCCESS);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user