mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Modify Hack for Crash Tag Team Racing to fix Gundam games
This commit is contained in:
parent
668023967d
commit
1b25959d86
2 changed files with 2 additions and 4 deletions
|
@ -408,6 +408,7 @@ int sceGeListSync(u32 displayListID, u32 mode) {
|
|||
|
||||
static u32 sceGeDrawSync(u32 mode) {
|
||||
//wait/check entire drawing state
|
||||
hleEatCycles(500000); //HACK(?) : Potential fix for Crash Tag Team Racing and a few Gundam games
|
||||
DEBUG_LOG(SCEGE, "sceGeDrawSync(mode=%d) (0=wait for completion, 1=peek)", mode);
|
||||
return gpu->DrawSync(mode);
|
||||
}
|
||||
|
|
|
@ -332,11 +332,8 @@ static int sceKernelVolatileMemLock(int type, u32 paddr, u32 psize) {
|
|||
|
||||
switch (error) {
|
||||
case 0:
|
||||
// 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);
|
||||
hleEatCycles(1200);
|
||||
DEBUG_LOG(HLE, "sceKernelVolatileMemLock(%i, %08x, %08x) - success", type, paddr, psize);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue