summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2017-09-24 23:43:28 +0200
committerMerryMage <MerryMage@users.noreply.github.com>2017-09-24 23:43:28 +0200
commit4e5eb2044acc304fc2068b53eb03e3a626832996 (patch)
treeb9dbe93a92b469d27c0f81f2566d83d192fd0d46 /src
parentmemory: Add GetCurrentPageTable/SetCurrentPageTable (diff)
downloadyuzu-4e5eb2044acc304fc2068b53eb03e3a626832996.tar
yuzu-4e5eb2044acc304fc2068b53eb03e3a626832996.tar.gz
yuzu-4e5eb2044acc304fc2068b53eb03e3a626832996.tar.bz2
yuzu-4e5eb2044acc304fc2068b53eb03e3a626832996.tar.lz
yuzu-4e5eb2044acc304fc2068b53eb03e3a626832996.tar.xz
yuzu-4e5eb2044acc304fc2068b53eb03e3a626832996.tar.zst
yuzu-4e5eb2044acc304fc2068b53eb03e3a626832996.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/memory.cpp4
-rw-r--r--src/core/memory.h6
2 files changed, 0 insertions, 10 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp
index 17fa10b49..67ba732ad 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -24,10 +24,6 @@ static std::array<u8, Memory::N3DS_EXTRA_RAM_SIZE> n3ds_extra_ram;
static PageTable* current_page_table = nullptr;
-std::array<u8*, PAGE_TABLE_NUM_ENTRIES>* GetCurrentPageTablePointers() {
- return &current_page_table->pointers;
-}
-
void SetCurrentPageTable(PageTable* page_table) {
current_page_table = page_table;
}
diff --git a/src/core/memory.h b/src/core/memory.h
index db5a704d0..1865bfea0 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -260,10 +260,4 @@ enum class FlushMode {
*/
void RasterizerFlushVirtualRegion(VAddr start, u32 size, FlushMode mode);
-/**
- * Dynarmic has an optimization to memory accesses when the pointer to the page exists that
- * can be used by setting up the current page table as a callback. This function is used to
- * retrieve the current page table for that purpose.
- */
-std::array<u8*, PAGE_TABLE_NUM_ENTRIES>* GetCurrentPageTablePointers();
} // namespace Memory