mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Kernel: Centralize error definitions in errors.h
This commit is contained in:
		
							parent
							
								
									743d18f0e4
								
							
						
					
					
						commit
						2cdb40d709
					
				
					 23 changed files with 178 additions and 132 deletions
				
			
		| 
						 | 
				
			
			@ -24,9 +24,7 @@ void InitializeSession(Service::Interface* self) {
 | 
			
		|||
 | 
			
		||||
    if (translation != IPC::CallingPidDesc()) {
 | 
			
		||||
        cmd_buff[0] = IPC::MakeHeader(0, 0x1, 0); // 0x40
 | 
			
		||||
        cmd_buff[1] = ResultCode(ErrorDescription::OS_InvalidBufferDescriptor, ErrorModule::OS,
 | 
			
		||||
                                 ErrorSummary::WrongArgument, ErrorLevel::Permanent)
 | 
			
		||||
                          .raw;
 | 
			
		||||
        cmd_buff[1] = IPC::ERR_INVALID_BUFFER_DESCRIPTOR.raw;
 | 
			
		||||
        LOG_ERROR(Service_BOSS, "The translation was invalid, translation=0x%08X", translation);
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue