mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-24 20:45:05 +00:00
24 lines
637 B
C
24 lines
637 B
C
/*
|
|
* PSP Software Development Kit - https://github.com/pspdev
|
|
* -----------------------------------------------------------------------
|
|
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
|
|
*
|
|
* Copyright (c) 2005 Jesper Svennevid
|
|
*/
|
|
|
|
#include "guInternal.h"
|
|
|
|
#include <pspkernel.h>
|
|
#include <pspge.h>
|
|
|
|
int sceGuSync(int mode, int what)
|
|
{
|
|
switch (mode)
|
|
{
|
|
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;
|
|
}
|
|
}
|