From 4c1061b84b681394621b11c5a0bc6d5fea254897 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 16 May 2009 16:32:35 +0000 Subject: [PATCH] fix spu in non-windows builds. --- desmume/src/SPU.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desmume/src/SPU.cpp b/desmume/src/SPU.cpp index a2bed06b2..d4c342767 100644 --- a/desmume/src/SPU.cpp +++ b/desmume/src/SPU.cpp @@ -41,6 +41,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //#undef FORCEINLINE //#define FORCEINLINE +#undef SPU_INTERPOLATE SPU_struct *SPU_core = 0; SPU_struct *SPU_user = 0; @@ -690,7 +691,7 @@ template static FORCEINLINE void Fetch16BitData(const channel } *data = a; #else - *data = (s32)chan->buf16[sputrunc(chan->sampcnt)]; + *data = (s32)buf16[sputrunc(chan->sampcnt)]; #endif }