PS2SDK
PS2 Homebrew Libraries
libsd.h
Go to the documentation of this file.
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright ps2dev - http://www.ps2dev.org
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
9 */
10 
16 #ifndef __LIBSD_H__
17 #define __LIBSD_H__
18 
19 #include <types.h>
20 #include <irx.h>
21 #include <libsd-common.h>
22 
23 #define libsd_IMPORTS_start DECLARE_IMPORT_TABLE(libsd, 1, 5)
24 #define libsd_IMPORTS_end END_IMPORT_TABLE
25 
26 #define I_sceSdQuit DECLARE_IMPORT(2, sceSdQuit);
27 #define I_sceSdInit DECLARE_IMPORT(4, sceSdInit);
28 #define I_sceSdSetIRQCallback DECLARE_IMPORT(22, sceSdSetIRQCallback);
29 #define I_sceSdSetTransCallback DECLARE_IMPORT(21, sceSdSetTransCallback);
30 #define I_sceSdSetParam DECLARE_IMPORT(5, sceSdSetParam);
31 #define I_sceSdGetParam DECLARE_IMPORT(6, sceSdGetParam);
32 #define I_sceSdSetCoreAttr DECLARE_IMPORT(11, sceSdSetCoreAttr);
33 #define I_sceSdGetCoreAttr DECLARE_IMPORT(12, sceSdGetCoreAttr);
34 #define I_sceSdClearEffectWorkArea DECLARE_IMPORT(25, sceSdClearEffectWorkArea);
35 #define I_sceSdSetAddr DECLARE_IMPORT(9, sceSdSetAddr);
36 #define I_sceSdGetAddr DECLARE_IMPORT(10, sceSdGetAddr);
37 #define I_sceSdSetSwitch DECLARE_IMPORT(7, sceSdSetSwitch);
38 #define I_sceSdGetSwitch DECLARE_IMPORT(8, sceSdGetSwitch);
39 #define I_sceSdNote2Pitch DECLARE_IMPORT(13, sceSdNote2Pitch);
40 #define I_sceSdPitch2Note DECLARE_IMPORT(14, sceSdPitch2Note);
41 #define I_sceSdSetEffectAttr DECLARE_IMPORT(23, sceSdSetEffectAttr);
42 #define I_sceSdGetEffectAttr DECLARE_IMPORT(24, sceSdGetEffectAttr);
43 #define I_sceSdProcBatch DECLARE_IMPORT(15, sceSdProcBatch);
44 #define I_sceSdProcBatchEx DECLARE_IMPORT(16, sceSdProcBatchEx);
45 #define I_sceSdVoiceTrans DECLARE_IMPORT(17, sceSdVoiceTrans);
46 #define I_sceSdBlockTrans DECLARE_IMPORT(18, sceSdBlockTrans);
47 #define I_sceSdVoiceTransStatus DECLARE_IMPORT(19, sceSdVoiceTransStatus);
48 #define I_sceSdBlockTransStatus DECLARE_IMPORT(20, sceSdBlockTransStatus);
49 #define I_sceSdSetTransIntrHandler DECLARE_IMPORT(26, sceSdSetTransIntrHandler);
50 #define I_sceSdSetSpu2IntrHandler DECLARE_IMPORT(27, sceSdSetSpu2IntrHandler);
51 #define I_sceSdGetTransIntrHandlerArgument DECLARE_IMPORT(28, sceSdGetTransIntrHandlerArgument);
52 #define I_sceSdGetSpu2IntrHandlerArgument DECLARE_IMPORT(29, sceSdGetSpu2IntrHandlerArgument);
53 #define I_sceSdStopTrans DECLARE_IMPORT(30, sceSdStopTrans);
54 #define I_sceSdCleanEffectWorkArea DECLARE_IMPORT(31, sceSdCleanEffectWorkArea);
55 #define I_sceSdSetEffectMode DECLARE_IMPORT(32, sceSdSetEffectMode);
56 #define I_sceSdSetEffectModeParams DECLARE_IMPORT(33, sceSdSetEffectModeParams);
57 
58 #endif /* __LIBSD_H__ */
libsd-common.h
irx.h