sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
sdrdrv.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
15
#ifndef _SDRDRV_H
16
#define _SDRDRV_H
17
18
#include <libsdr-common.h>
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
typedef
int (*sceSdrUserCommandFunction)(
unsigned
int
command,
void
*data,
int
size);
25
26
extern
int
sceSdrChangeThreadPriority(
int
priority_main,
int
priority_cb);
27
extern
sceSdrUserCommandFunction sceSdrSetUserCommandFunction(
int
command, sceSdrUserCommandFunction func);
28
29
#define sdrdrv_IMPORTS_start DECLARE_IMPORT_TABLE(sdrdrv, 1, 1)
30
#define sdrdrv_IMPORTS_end END_IMPORT_TABLE
31
32
#define I_sceSdrChangeThreadPriority DECLARE_IMPORT(4, sceSdrChangeThreadPriority)
33
#define I_sceSdrSetUserCommandFunction DECLARE_IMPORT(5, sceSdrSetUserCommandFunction)
34
35
#ifdef __cplusplus
36
}
37
#endif
38
39
#endif
sdr
include
sdrdrv.h
Generated by
1.18.0