mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
disable literal optimations in DTCM
This commit is contained in:
@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user