summaryrefslogtreecommitdiffstats
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2017-09-24 23:42:42 +0200
committerMerryMage <MerryMage@users.noreply.github.com>2017-09-24 23:42:42 +0200
commitc02bbb7030efd072511bd0051a44d9e503016f74 (patch)
treecf830eadae6493ee83b7de8b44c10c89d668b5ca /src/core/memory.h
parentMerge pull request #2921 from jroweboy/batch-fix-2 (diff)
downloadyuzu-c02bbb7030efd072511bd0051a44d9e503016f74.tar
yuzu-c02bbb7030efd072511bd0051a44d9e503016f74.tar.gz
yuzu-c02bbb7030efd072511bd0051a44d9e503016f74.tar.bz2
yuzu-c02bbb7030efd072511bd0051a44d9e503016f74.tar.lz
yuzu-c02bbb7030efd072511bd0051a44d9e503016f74.tar.xz
yuzu-c02bbb7030efd072511bd0051a44d9e503016f74.tar.zst
yuzu-c02bbb7030efd072511bd0051a44d9e503016f74.zip
Diffstat (limited to '')
-rw-r--r--src/core/memory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index b228a48c2..db5a704d0 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -182,7 +182,8 @@ enum : VAddr {
};
/// Currently active page table
-extern PageTable* current_page_table;
+void SetCurrentPageTable(PageTable* page_table);
+PageTable* GetCurrentPageTable();
bool IsValidVirtualAddress(const VAddr addr);
bool IsValidPhysicalAddress(const PAddr addr);