mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 18:48:01 -05:00
memory: Add GetCurrentPageTable/SetCurrentPageTable
Don't expose Memory::current_page_table as a global.
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user