mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-24 04:32:36 +00:00
Use proper values for sceGuSync
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user