diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/GPU2D.cpp | 5 | ||||
-rw-r--r-- | src/NDS.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/GPU2D.cpp b/src/GPU2D.cpp index e0da772..3375d45 100644 --- a/src/GPU2D.cpp +++ b/src/GPU2D.cpp @@ -246,6 +246,11 @@ u8 GPU2D::Read8(u32 addr) case 0x049: return WinCnt[1]; case 0x04A: return WinCnt[2]; case 0x04B: return WinCnt[3]; + + // there are games accidentally trying to read those + // those are write-only + case 0x04C: + case 0x04D: return 0; } printf("unknown GPU read8 %08X\n", addr); diff --git a/src/NDS.cpp b/src/NDS.cpp index 37053a4..6272f88 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -69,7 +69,7 @@ u64 FrameStartTimestamp; int CurCPU; -const s32 kMaxIterationCycles = 16; +const s32 kMaxIterationCycles = 64; u32 ARM9ClockShift; |