diff options
| author | StapleButter <thetotalworm@gmail.com> | 2018-12-11 17:28:59 +0100 | 
|---|---|---|
| committer | StapleButter <thetotalworm@gmail.com> | 2018-12-11 17:28:59 +0100 | 
| commit | e4c6ac55d2d4a4469e9e354b4e29f653e6e2f3f9 (patch) | |
| tree | b675b8c624970374c3729d8ad499ad15007d02ea /src | |
| parent | 91b2f6459613b8af8308e25ff89f5bef61c2b8b3 (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.cpp | 6 | 
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);  }  |