/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta_reference/plugins/zerospu2/zerodma.cpp
ViewVC logotype

Diff of /branch/r3113_0.9.7_beta_reference/plugins/zerospu2/zerodma.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- branch/r3113_0.9.7_beta_reference/plugins/zerospu2/zerodma.cpp	2010/09/13 17:18:05	173
+++ branch/r3113_0.9.7_beta_reference/plugins/zerospu2/zerodma.cpp	2010/09/13 17:24:24	174
@@ -25,13 +25,13 @@
 #include "SoundTouch/SoundTouch.h"
 #include "SoundTouch/WavFile.h"
 
-void CALLBACK SPU2readDMAMem(u16 *pMem, int size, int channel)
+void CALLBACK SPU2readDMAMem(u16 *pMem, s32 size, int channel)
 {
 	u32 spuaddr = C_SPUADDR(channel);
 
 	SPU2_LOG("SPU2 readDMAMem(%d) size %x, addr: %x\n", channel,  size, pMem);
 
-	for (u32 i = 0; i < size; i++)
+	for (s32 i = 0; i < size; i++)
 	{
 		*pMem++ = *(u16*)(spu2mem + spuaddr);
 		if (spu2attr(channel).irq && (C_IRQA(channel) == spuaddr))

 

  ViewVC Help
Powered by ViewVC 1.1.22