mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	kernel/vm_manager: Amend flag values for CodeMutable
This should actually be using the data flags, rather than the code flags.
This commit is contained in:
		
							parent
							
								
									839c0f829b
								
							
						
					
					
						commit
						56c80a2a21
					
				@ -166,7 +166,7 @@ enum class MemoryState : u32 {
 | 
				
			|||||||
    Io                     = 0x01 | FlagMapped,
 | 
					    Io                     = 0x01 | FlagMapped,
 | 
				
			||||||
    Normal                 = 0x02 | FlagMapped | FlagQueryPhysicalAddressAllowed,
 | 
					    Normal                 = 0x02 | FlagMapped | FlagQueryPhysicalAddressAllowed,
 | 
				
			||||||
    CodeStatic             = 0x03 | CodeFlags  | FlagMapProcess,
 | 
					    CodeStatic             = 0x03 | CodeFlags  | FlagMapProcess,
 | 
				
			||||||
    CodeMutable            = 0x04 | CodeFlags  | FlagMapProcess | FlagCodeMemory,
 | 
					    CodeMutable            = 0x04 | DataFlags  | FlagMapProcess | FlagCodeMemory,
 | 
				
			||||||
    Heap                   = 0x05 | DataFlags  | FlagCodeMemory,
 | 
					    Heap                   = 0x05 | DataFlags  | FlagCodeMemory,
 | 
				
			||||||
    Shared                 = 0x06 | FlagMapped | FlagMemoryPoolAllocated,
 | 
					    Shared                 = 0x06 | FlagMapped | FlagMemoryPoolAllocated,
 | 
				
			||||||
    ModuleCodeStatic       = 0x08 | CodeFlags  | FlagModule | FlagMapProcess,
 | 
					    ModuleCodeStatic       = 0x08 | CodeFlags  | FlagModule | FlagMapProcess,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user