/[pcsx2_0.9.7]/branch/debug/0.X/0.9.X/0.9.7/r3113/plugins/zerospu2/zerodma.cpp
ViewVC logotype

Diff of /branch/debug/0.X/0.9.X/0.9.7/r3113/plugins/zerospu2/zerodma.cpp

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

revision 170 by william, Tue Sep 7 06:17:51 2010 UTC revision 171 by william, Mon Sep 13 16:38:21 2010 UTC
# Line 25  Line 25 
25  #include "SoundTouch/SoundTouch.h"  #include "SoundTouch/SoundTouch.h"
26  #include "SoundTouch/WavFile.h"  #include "SoundTouch/WavFile.h"
27    
28  void CALLBACK SPU2readDMAMem(u16 *pMem, int size, int channel)  void CALLBACK SPU2readDMAMem(u16 *pMem, s32 size, int channel)
29  {  {
30          u32 spuaddr = C_SPUADDR(channel);          u32 spuaddr = C_SPUADDR(channel);
31    
32          SPU2_LOG("SPU2 readDMAMem(%d) size %x, addr: %x\n", channel,  size, pMem);          SPU2_LOG("SPU2 readDMAMem(%d) size %x, addr: %x\n", channel,  size, pMem);
33    
34          for (u32 i = 0; i < size; i++)          for (s32 i = 0; i < size; i++)
35          {          {
36                  *pMem++ = *(u16*)(spu2mem + spuaddr);                  *pMem++ = *(u16*)(spu2mem + spuaddr);
37                  if (spu2attr(channel).irq && (C_IRQA(channel) == spuaddr))                  if (spu2attr(channel).irq && (C_IRQA(channel) == spuaddr))

Legend:
Removed from v.170  
changed lines
  Added in v.171

  ViewVC Help
Powered by ViewVC 1.1.22