mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	memory: Add GetCurrentPageTable/SetCurrentPageTable
Don't expose Memory::current_page_table as a global.
This commit is contained in:
		
							parent
							
								
									93930a966f
								
							
						
					
					
						commit
						c02bbb7030
					
				
					 7 changed files with 19 additions and 13 deletions
				
			
		|  | @ -21,7 +21,7 @@ TestEnvironment::TestEnvironment(bool mutable_memory_) | |||
|     Memory::MapIoRegion(page_table, 0x00000000, 0x80000000, test_memory); | ||||
|     Memory::MapIoRegion(page_table, 0x80000000, 0x80000000, test_memory); | ||||
| 
 | ||||
|     Memory::current_page_table = &page_table; | ||||
|     Memory::SetCurrentPageTable(&page_table); | ||||
| } | ||||
| 
 | ||||
| TestEnvironment::~TestEnvironment() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue