mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
GE Debugger: Fix replay FPS.
This commit is contained in:
1 parent
33b073c545
commit
2a388ba785
2 files changed
+7
-5
No files matched your search
@@ -1646,8 +1646,11 @@ bool __KernelLoadGEDump(std::string *error_string) {
|
||||
|
||||
const static u32_le runDumpCode[] = {
|
||||
MIPS_MAKE_LUI(MIPS_REG_RA, mipsr4k.pc >> 16),
|
||||
MIPS_MAKE_JR_RA(),
|
||||
MIPS_MAKE_SYSCALL("FakeSysCalls", "__KernelGPUReplay"),
|
||||
MIPS_MAKE_LUI(MIPS_REG_A0, 0),
|
||||
MIPS_MAKE_SYSCALL("sceGe_user", "sceGeDrawSync"),
|
||||
MIPS_MAKE_JR_RA(),
|
||||
MIPS_MAKE_SYSCALL("sceDisplay", "sceDisplayWaitVblankStart"),
|
||||
MIPS_MAKE_BREAK(0),
|
||||
};
|
||||
|
||||
@@ -1671,13 +1674,9 @@ bool __KernelLoadGEDump(std::string *error_string) {
|
||||
}
|
||||
|
||||
void __KernelGPUReplay() {
|
||||
u64 destTicks = CoreTiming::GetTicks() + msToCycles(1001.0f / 60.0f);
|
||||
if (!GPURecord::RunMountedReplay()) {
|
||||
Core_Stop();
|
||||
}
|
||||
if (destTicks < CoreTiming::GetTicks()) {
|
||||
hleEatCycles(destTicks - CoreTiming::GetTicks());
|
||||
}
|
||||
}
|
||||
|
||||
int sceKernelLoadExec(const char *filename, u32 paramPtr)
|
||||
|
||||
Reference in new issue
Block a user