From b03e0caf5e153551cb71065ffaa4361b7f7e492b Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 25 Jun 2011 01:49:35 +0300 Subject: gpus: return DMA word count to avoid 1 list walk --- plugins/gpu_unai/port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/gpu_unai/port.h') diff --git a/plugins/gpu_unai/port.h b/plugins/gpu_unai/port.h index 3561acd..238b98b 100644 --- a/plugins/gpu_unai/port.h +++ b/plugins/gpu_unai/port.h @@ -23,7 +23,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); -- cgit v1.2.3