aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2018-12-11 17:28:59 +0100
committerStapleButter <thetotalworm@gmail.com>2018-12-11 17:28:59 +0100
commite4c6ac55d2d4a4469e9e354b4e29f653e6e2f3f9 (patch)
treeb675b8c624970374c3729d8ad499ad15007d02ea /src
parent91b2f6459613b8af8308e25ff89f5bef61c2b8b3 (diff)
Mario&Sonic doesn't like it when its code is running too fast; dual-screen-3D shits itself big time
Diffstat (limited to 'src')
-rw-r--r--src/CP15.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CP15.cpp b/src/CP15.cpp
index 432ae1f..c35e653 100644
--- a/src/CP15.cpp
+++ b/src/CP15.cpp
@@ -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);
}