Mario&Sonic doesn't like it when its code is running too fast; dual-screen-3D shits itself big time

This commit is contained in:
StapleButter 2018-12-11 17:28:59 +01:00
parent 91b2f64596
commit e4c6ac55d2

View File

@ -28,7 +28,7 @@
// a value of 1 would represent a perfect cache, but that causes
// games to run too fast, causing a number of issues
const int kDataCacheTiming = 2;
const int kCodeCacheTiming = 1;
const int kCodeCacheTiming = 2;
void ARMv5::CP15Reset()
@ -686,12 +686,12 @@ void ARMv5::DataWrite32S(u32 addr, u32 val)
void ARMv5::GetCodeMemRegion(u32 addr, NDS::MemRegion* region)
{
if (addr < ITCMSize)
/*if (addr < ITCMSize)
{
region->Mem = ITCM;
region->Mask = 0x7FFF;
return;
}
}*/
NDS::ARM9GetMemRegion(addr, false, &CodeMem);
}