mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-31 20:37:52 +00:00
memory: Remove GetCurrentPageTablePointers
This commit is contained in:
parent
c02bbb7030
commit
4e5eb2044a
2 changed files with 0 additions and 10 deletions
|
@ -24,10 +24,6 @@ static std::array<u8, Memory::N3DS_EXTRA_RAM_SIZE> n3ds_extra_ram;
|
||||||
|
|
||||||
static PageTable* current_page_table = nullptr;
|
static PageTable* current_page_table = nullptr;
|
||||||
|
|
||||||
std::array<u8*, PAGE_TABLE_NUM_ENTRIES>* GetCurrentPageTablePointers() {
|
|
||||||
return ¤t_page_table->pointers;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SetCurrentPageTable(PageTable* page_table) {
|
void SetCurrentPageTable(PageTable* page_table) {
|
||||||
current_page_table = page_table;
|
current_page_table = page_table;
|
||||||
}
|
}
|
||||||
|
|
|
@ -260,10 +260,4 @@ enum class FlushMode {
|
||||||
*/
|
*/
|
||||||
void RasterizerFlushVirtualRegion(VAddr start, u32 size, FlushMode mode);
|
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
|
} // namespace Memory
|
||||||
|
|
Loading…
Reference in a new issue