From 3e53a28f3cccc884e5f0f6f83377c01d9e88e8c3 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sun, 17 May 2009 19:11:28 +0000 Subject: [PATCH] Fix b shadowing warning. --- desmume/src/SPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/SPU.cpp b/desmume/src/SPU.cpp index 0d1aace92..23944218f 100644 --- a/desmume/src/SPU.cpp +++ b/desmume/src/SPU.cpp @@ -698,7 +698,7 @@ template static FORCEI s32 a = (s32)buf16[loc], b; if(loc < (chan->totlength << shift) - 1) { - s32 b = (s32)buf16[loc + 1]; + b = (s32)buf16[loc + 1]; a = Interpolate(a, b, chan->sampcnt); } *data = a;