From b05733a8fb7294e7210ea177d9d49d7d157ec92d Mon Sep 17 00:00:00 2001 From: gigaherz Date: Thu, 4 Feb 2010 16:59:48 +0000 Subject: [PATCH] "giga: PlainDMAWrite((u16*)data,bytesLeft); << not bytesLeft/2 ? Fixes sound in many games" whoops. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2557 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/spu2-x/src/Dma.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spu2-x/src/Dma.cpp b/plugins/spu2-x/src/Dma.cpp index aabbbfa8ce..1e9795b774 100644 --- a/plugins/spu2-x/src/Dma.cpp +++ b/plugins/spu2-x/src/Dma.cpp @@ -590,7 +590,7 @@ s32 V_Core::NewDmaWrite(u32* data, u32 bytesLeft, u32* bytesProcessed) else { // TODO: Sliced transfers? - PlainDMAWrite((u16*)data,bytesLeft); + PlainDMAWrite((u16*)data,bytesLeft/2); } Regs.STATX &= ~0x80; //Regs.ATTR |= 0x30;