disable literal optimations in DTCM

This commit is contained in:
RSDuck 2019-12-06 22:16:23 +01:00
parent 0c5311731b
commit 60650fa82e
1 changed files with 4 additions and 2 deletions

View File

@ -347,8 +347,10 @@ void Compiler::Comp_MemAccess(int rd, int rn, const ComplexOperand& op2, int siz
// stupid dtcm... // stupid dtcm...
if (addr >= cpu5->DTCMBase && addr < (cpu5->DTCMBase + cpu5->DTCMSize)) if (addr >= cpu5->DTCMBase && addr < (cpu5->DTCMBase + cpu5->DTCMSize))
{ {
region.Mem = cpu5->DTCM; // disable this for now as DTCM is located in heap
region.Mask = 0x3FFF; // which might excced the RIP-addressable range
//region.Mem = cpu5->DTCM;
//region.Mask = 0x3FFF;
} }
else else
{ {