notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dma: don't copy out of range
[pcsx_rearmed.git]
/
plugins
/
gpu_unai
/
port.h
diff --git
a/plugins/gpu_unai/port.h
b/plugins/gpu_unai/port.h
index
3561acd
..
0a731f8
100644
(file)
--- a/
plugins/gpu_unai/port.h
+++ b/
plugins/gpu_unai/port.h
@@
-1,3
+1,6
@@
+#ifndef __GPU_UNAI_GPU_PORT_H__
+#define __GPU_UNAI_GPU_PORT_H__
+
#include <stddef.h>
#include <string.h>
#include <stddef.h>
#include <string.h>
@@
-23,7
+26,7
@@
extern "C" {
bool GPUinit(void);
void GPUshutdown(void);
void GPUwriteDataMem(u32* dmaAddress, s32 dmaCount);
bool GPUinit(void);
void GPUshutdown(void);
void GPUwriteDataMem(u32* dmaAddress, s32 dmaCount);
-
void
GPUdmaChain(u32* baseAddr, u32 dmaVAddr);
+
long
GPUdmaChain(u32* baseAddr, u32 dmaVAddr);
void GPUwriteData(u32 data);
void GPUreadDataMem(u32* dmaAddress, s32 dmaCount);
u32 GPUreadData(void);
void GPUwriteData(u32 data);
void GPUreadDataMem(u32* dmaAddress, s32 dmaCount);
u32 GPUreadData(void);
@@
-34,3
+37,5
@@
void GPUwriteStatus(u32 data);
#undef s32
}
#undef s32
}
+
+#endif /* __GPU_UNAI_GPU_PORT_H__ */