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
				
			
		| 
						 | 
				
			
			@ -267,8 +267,7 @@ static void InitializeIrNopShared(Interface* self) {
 | 
			
		|||
    shared_memory = Kernel::g_handle_table.Get<Kernel::SharedMemory>(handle);
 | 
			
		||||
    if (!shared_memory) {
 | 
			
		||||
        LOG_CRITICAL(Service_IR, "invalid shared memory handle 0x%08X", handle);
 | 
			
		||||
        rb.Push(ResultCode(ErrorDescription::InvalidHandle, ErrorModule::OS,
 | 
			
		||||
                           ErrorSummary::WrongArgument, ErrorLevel::Permanent));
 | 
			
		||||
        rb.Push(IPC::ERR_INVALID_HANDLE);
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
    shared_memory->name = "IR_USER: shared memory";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue