From f6119e02f028ad20378b8fd7278d2a6f59fce5bb Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Wed, 17 Feb 2010 21:12:02 +0000 Subject: [PATCH] SPU2-X: - Don't delay the adma irq callbacks, call them directly. Should finally fix all those sound dropouts that only happened with this plugin :) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2601 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/spu2-x/src/ReadInput.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/spu2-x/src/ReadInput.cpp b/plugins/spu2-x/src/ReadInput.cpp index 0629e461a8..6e55f2755f 100644 --- a/plugins/spu2-x/src/ReadInput.cpp +++ b/plugins/spu2-x/src/ReadInput.cpp @@ -90,7 +90,9 @@ StereoOut32 V_Core::ReadInput_HiFi() } } InputDataLeft = 0; - DMAICounter = 1; + //DMAICounter = 1; + if(Index == 0) { if(dma4callback) dma4callback(); } + else { if(dma7callback) dma7callback(); } } } #endif @@ -149,7 +151,9 @@ StereoOut32 V_Core::ReadInput() } InputDataLeft = 0; - DMAICounter = 1; + //DMAICounter = 1; + if(Index == 0) { if(dma4callback) dma4callback(); } + else { if(dma7callback) dma7callback(); } } } #endif