mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-07-02 22:30:47 -07: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