X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fgpu_unai%2Fport.h;h=0a731f8e736986d7644636839f8344fd969229c8;hb=e223fa15d18a141a26d73683d036d130cc5c6e8d;hp=3561acdcda99abf5b20b92445fe3d30a56e21d9f;hpb=7c49c8a2a0cd00c453425b0f88c7b117223c92f4;p=pcsx_rearmed.git diff --git a/plugins/gpu_unai/port.h b/plugins/gpu_unai/port.h index 3561acdc..0a731f8e 100644 --- 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 #include @@ -23,7 +26,7 @@ extern "C" { 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); @@ -34,3 +37,5 @@ void GPUwriteStatus(u32 data); #undef s32 } + +#endif /* __GPU_UNAI_GPU_PORT_H__ */