Reduce the delay in __KernelVolatileTryMemLock. However, it's still too large.

This commit is contained in:
Henrik Rydgard 2014-03-15 10:51:16 +01:00
parent b4d99b1981
commit 5705496233

View file

@ -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;
}