misc: accept a path without slash
[pcsx_rearmed.git] / plugins / gpu_senquack / port.h
CommitLineData
0bfe8d59 1#ifndef __GPU_UNAI_GPU_PORT_H__
2#define __GPU_UNAI_GPU_PORT_H__
3
4#include <stddef.h>
5#include <string.h>
6
7#define INLINE static inline
8
9#define GPU_init GPUinit
10#define GPU_shutdown GPUshutdown
11//#define GPU_freeze GPUfreeze
12#define GPU_writeDataMem GPUwriteDataMem
13#define GPU_dmaChain GPUdmaChain
14#define GPU_writeData GPUwriteData
15#define GPU_readDataMem GPUreadDataMem
16#define GPU_readData GPUreadData
17#define GPU_readStatus GPUreadStatus
18#define GPU_writeStatus GPUwriteStatus
19#define GPU_updateLace GPUupdateLace
20
21extern "C" {
22
23#define u32 unsigned int
24#define s32 signed int
25
26bool GPUinit(void);
27void GPUshutdown(void);
28void GPUwriteDataMem(u32* dmaAddress, s32 dmaCount);
29long GPUdmaChain(u32* baseAddr, u32 dmaVAddr);
30void GPUwriteData(u32 data);
31void GPUreadDataMem(u32* dmaAddress, s32 dmaCount);
32u32 GPUreadData(void);
33u32 GPUreadStatus(void);
34void GPUwriteStatus(u32 data);
35
36#undef u32
37#undef s32
38
39}
40
41#endif /* __GPU_UNAI_GPU_PORT_H__ */