raise kMaxIterationCycles to 64

This commit is contained in:
Arisotura 2019-06-25 02:05:48 +02:00
parent e2dc98d144
commit 49b2f8d969
2 changed files with 6 additions and 1 deletions

View File

@ -246,6 +246,11 @@ u8 GPU2D::Read8(u32 addr)
case 0x049: return WinCnt[1]; case 0x049: return WinCnt[1];
case 0x04A: return WinCnt[2]; case 0x04A: return WinCnt[2];
case 0x04B: return WinCnt[3]; 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); printf("unknown GPU read8 %08X\n", addr);

View File

@ -69,7 +69,7 @@ u64 FrameStartTimestamp;
int CurCPU; int CurCPU;
const s32 kMaxIterationCycles = 16; const s32 kMaxIterationCycles = 64;
u32 ARM9ClockShift; u32 ARM9ClockShift;