mirror of
https://github.com/pspdev/pspsdk.git
synced 2026-01-06 15:10:29 +00:00
first commit
This commit is contained in:
23
src/gu/sceGuSignal.c
Normal file
23
src/gu/sceGuSignal.c
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* PSP Software Development Kit - http://www.pspdev.org
|
||||
* -----------------------------------------------------------------------
|
||||
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
|
||||
*
|
||||
* Copyright (c) 2005 Jesper Svennevid
|
||||
*/
|
||||
|
||||
#include "guInternal.h"
|
||||
|
||||
void sceGuSignal(int signal, int argument)
|
||||
{
|
||||
sendCommandi(14,((signal & 0xff) << 16) | (argument & 0xffff));
|
||||
sendCommandi(12,0);
|
||||
|
||||
if (signal == 3)
|
||||
{
|
||||
sendCommandi(15,0);
|
||||
sendCommandi(12,0);
|
||||
}
|
||||
|
||||
sendCommandiStall(0,0);
|
||||
}
|
||||
Reference in New Issue
Block a user