Use proper values for sceGuSync

This commit is contained in:
Francisco Javier Trujillo Mata
2025-04-10 19:36:30 +02:00
parent b1fcb2b738
commit 6364b27f57

View File

@@ -15,9 +15,9 @@ int sceGuSync(int mode, int what)
{
switch (mode)
{
case 0: return sceGeDrawSync(what);
case 3: return sceGeListSync(ge_list_executed[0],what);
case 4: return sceGeListSync(ge_list_executed[1],what);
default: case 1: case 2: return 0;
case GU_SYNC_FINISH: return sceGeDrawSync(what);
case GU_SYNC_LIST: return sceGeListSync(ge_list_executed[0],what);
case GU_SYNC_SEND: return sceGeListSync(ge_list_executed[1],what);
default: case GU_SYNC_SIGNAL: case GU_SYNC_DONE: return 0;
}
}