PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
sdrdrv.h
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
11#ifndef _SDRDRV_H
12#define _SDRDRV_H
13
14typedef int (*sceSdrUserCommandFunction)(unsigned int command, void *data, int size);
15
16extern int sceSdrChangeThreadPriority(int priority_main, int priority_cb);
17extern sceSdrUserCommandFunction sceSdrSetUserCommandFunction(int command, sceSdrUserCommandFunction func);
18
19#define sdrdrv_IMPORTS_start DECLARE_IMPORT_TABLE(sdrdrv, 1, 1)
20#define sdrdrv_IMPORTS_end END_IMPORT_TABLE
21
22#define I_sceSdrChangeThreadPriority DECLARE_IMPORT(4, sceSdrChangeThreadPriority)
23#define I_sceSdrSetUserCommandFunction DECLARE_IMPORT(5, sceSdrSetUserCommandFunction)
24
25#endif