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