ARM64Emitter: Implement instructions to move data to/from SP

This commit is contained in:
Henrik Rydgard committed 2017-01-26 14:23:42 +01:00
1 parent f5cef88e14
commit a1ec735f6c
6 files changed
+25 -2

No files matched your search

+1
View File
@@ -253,6 +253,7 @@ void MemoryMap_Shutdown(u32 flags) {
void Init() {
// On some 32 bit platforms, you can only map < 32 megs at a time.
// TODO: Wait, wtf? What platforms are those? This seems bad.
const static int MAX_MMAP_SIZE = 31 * 1024 * 1024;
_dbg_assert_msg_(MEMMAP, g_MemorySize < MAX_MMAP_SIZE * 3, "ACK - too much memory for three mmap views.");
for (size_t i = 0; i < ARRAY_SIZE(views); i++) {