mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	kernel/shared_memory: Make data members private
Rather than allow unfettered access to the class internals, we hide all members by default and create and API that other code can operate against.
This commit is contained in:
		
							parent
							
								
									662c3ff684
								
							
						
					
					
						commit
						1cb9bea504
					
				
					 7 changed files with 31 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -240,7 +240,7 @@ void IR_USER::InitializeIrNopShared(Kernel::HLERequestContext& ctx) {
 | 
			
		|||
 | 
			
		||||
    IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
 | 
			
		||||
 | 
			
		||||
    shared_memory->name = "IR_USER: shared memory";
 | 
			
		||||
    shared_memory->SetName("IR_USER: shared memory");
 | 
			
		||||
 | 
			
		||||
    receive_buffer = std::make_unique<BufferManager>(shared_memory, 0x10, 0x20,
 | 
			
		||||
                                                     recv_buff_packet_count, recv_buff_size);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue