diff options
| author | WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> | 2020-08-05 15:06:15 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-05 15:06:15 +0100 | 
| commit | 6d71f9c83293006b02a96ce0f5a5f9f65a47cd18 (patch) | |
| tree | 5558a3a2ae148e7e17fdd56ab0296b883da0aa09 /src/NDS.cpp | |
| parent | 7e5eafe345017dc93a68572528e896f896a6e175 (diff) | |
| parent | e4b1526b477bc66996bce8f0a2f81c2f1cffba63 (diff) | |
Merge branch 'master' into feature/zip-support
Diffstat (limited to 'src/NDS.cpp')
| -rw-r--r-- | src/NDS.cpp | 13 | 
1 files changed, 9 insertions, 4 deletions
| diff --git a/src/NDS.cpp b/src/NDS.cpp index 8cd7f93..823d39a 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -493,7 +493,7 @@ void Reset()          printf("ARM7 BIOS loaded\n");          fclose(f);      } -     +  #ifdef JIT_ENABLED      ARMJIT::Reset();  #endif @@ -1137,7 +1137,9 @@ void MapSharedWRAM(u8 val)      if (val == WRAMCnt)          return; +#ifdef JIT_ENABLED      ARMJIT_Memory::RemapSWRAM(); +#endif      WRAMCnt = val; @@ -1268,6 +1270,9 @@ bool HaltInterrupted(u32 cpu)      if (IF[cpu] & IE[cpu])          return true; +    if ((ConsoleType == 1) && cpu && (IF2 & IE2)) +        return true; +      return false;  } @@ -1813,14 +1818,14 @@ void debug(u32 param)      }      fclose(shit);*/      FILE* -    /*shit = fopen("debug/dump9.bin", "wb"); +    shit = fopen("debug/dump9.bin", "wb");      for (u32 i = 0x02000000; i < 0x04000000; i+=4)      {          u32 val = DSi::ARM9Read32(i);          fwrite(&val, 4, 1, shit);      } -    fclose(shit);*/ -    shit = fopen("debug/dump7_2.bin", "wb"); +    fclose(shit); +    shit = fopen("debug/dump7.bin", "wb");      for (u32 i = 0x02000000; i < 0x04000000; i+=4)      {          u32 val = DSi::ARM7Read32(i); |