From 000c03c9d6307faa7b52988da1510cc4d0dcd8a3 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Fri, 6 Dec 2019 22:16:23 +0100 Subject: [PATCH] disable literal optimations in DTCM --- src/ARMJIT_x64/ARMJIT_LoadStore.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ARMJIT_x64/ARMJIT_LoadStore.cpp b/src/ARMJIT_x64/ARMJIT_LoadStore.cpp index 82f80a75..b66f304f 100644 --- a/src/ARMJIT_x64/ARMJIT_LoadStore.cpp +++ b/src/ARMJIT_x64/ARMJIT_LoadStore.cpp @@ -347,8 +347,10 @@ void Compiler::Comp_MemAccess(int rd, int rn, const ComplexOperand& op2, int siz // stupid dtcm... if (addr >= cpu5->DTCMBase && addr < (cpu5->DTCMBase + cpu5->DTCMSize)) { - region.Mem = cpu5->DTCM; - region.Mask = 0x3FFF; + // disable this for now as DTCM is located in heap + // which might excced the RIP-addressable range + //region.Mem = cpu5->DTCM; + //region.Mask = 0x3FFF; } else {