mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Reduce the delay in __KernelVolatileTryMemLock. However, it's still too large.
This commit is contained in:
parent
b4d99b1981
commit
5705496233
1 changed files with 5 additions and 3 deletions
|
@ -225,9 +225,11 @@ int __KernelVolatileMemLock(int type, u32 paddr, u32 psize) {
|
|||
Memory::Write_U32(0x00400000, psize);
|
||||
volatileMemLocked = true;
|
||||
|
||||
// HACK (or not?) Seems this make take some time. This fixes Crash Tag Team Racing.
|
||||
// TODO: Test properly.
|
||||
hleEatCycles(msToCycles(25));
|
||||
// HACK: This fixes Crash Tag Team Racing.
|
||||
// Should only wait 1200 cycles though according to Unknown's testing,
|
||||
// and with that it's still broken. So it's not this, unfortunately.
|
||||
// Leaving it in for the 0.9.8 release anyway.
|
||||
hleEatCycles(500000);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue