VERY experimental Nintendo Switch 2 emulator
C++
Memory: Move PAGE_MASK and PAGE_BITS to memory.h
Yuri Kunde Schlesnerfbcf0558f3e8
diff --git a/src/core/memory.h b/src/core/memory.hindex 418609de07..2a06cc6c33 100644--- a/src/core/memory.h+++ b/src/core/memory.h@@ -15,6 +15,8 @@ namespace Memory {* be mapped.*/const u32 PAGE_SIZE = 0x1000;+const u32 PAGE_MASK = PAGE_SIZE - 1;+const int PAGE_BITS = 12;/// Physical memory regions as seen from the ARM11enum : PAddr {diff --git a/src/core/memory_setup.h b/src/core/memory_setup.hindex 361bfc816c..84ff301204 100644--- a/src/core/memory_setup.h+++ b/src/core/memory_setup.h@@ -10,9 +10,6 @@namespace Memory {-const u32 PAGE_MASK = PAGE_SIZE - 1;-const int PAGE_BITS = 12;-void InitMemoryMap();/**