mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Memory: Move PAGE_MASK and PAGE_BITS to memory.h
This commit is contained in:
		
							parent
							
								
									306408d174
								
							
						
					
					
						commit
						ccab02c723
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -15,6 +15,8 @@ namespace Memory { | |||
|  * be mapped. | ||||
|  */ | ||||
| const u32 PAGE_SIZE = 0x1000; | ||||
| const u32 PAGE_MASK = PAGE_SIZE - 1; | ||||
| const int PAGE_BITS = 12; | ||||
| 
 | ||||
| /// Physical memory regions as seen from the ARM11
 | ||||
| enum : PAddr { | ||||
|  |  | |||
|  | @ -10,9 +10,6 @@ | |||
| 
 | ||||
| namespace Memory { | ||||
| 
 | ||||
| const u32 PAGE_MASK = PAGE_SIZE - 1; | ||||
| const int PAGE_BITS = 12; | ||||
| 
 | ||||
| void InitMemoryMap(); | ||||
| 
 | ||||
| /**
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue