From ca51636f5cf67e393f271e7d057f51ceeee10f90 Mon Sep 17 00:00:00 2001 From: luigi2us Date: Mon, 6 Jul 2009 12:12:05 +0000 Subject: [PATCH] Put AFCdecodebuffer inside the CUCode_Zelda class. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3690 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Plugin_DSP_HLE/Plugin_DSP_HLE.vcproj | 394 +++++++++--------- .../Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h | 3 + .../Src/UCodes/UCode_Zelda_ADPCM.cpp | 5 +- .../Src/UCodes/UCode_Zelda_ADPCM.h | 20 - 4 files changed, 201 insertions(+), 221 deletions(-) delete mode 100644 Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_ADPCM.h diff --git a/Source/Plugins/Plugin_DSP_HLE/Plugin_DSP_HLE.vcproj b/Source/Plugins/Plugin_DSP_HLE/Plugin_DSP_HLE.vcproj index ab6df2c916..1c16f33808 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Plugin_DSP_HLE.vcproj +++ b/Source/Plugins/Plugin_DSP_HLE/Plugin_DSP_HLE.vcproj @@ -1,7 +1,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -821,14 +817,6 @@ UsePrecompiledHeader="1" /> - - - @@ -838,7 +826,7 @@ /> + + + > 11; + if (sample > 32767) { sample = 32767; } diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_ADPCM.h b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_ADPCM.h deleted file mode 100644 index 0af424494c..0000000000 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_ADPCM.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (C) 2003-2008 Dolphin Project. - -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, version 2.0. - -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License 2.0 for more details. - -// A copy of the GPL 2.0 should have been included with the program. -// If not, see http://www.gnu.org/licenses/ - -// Official SVN repository and contact information can be found at -// http://code.google.com/p/dolphin-emu/ - -#include "Common.h" - -void AFCdecodebuffer(const s16 *coef, const char *input, signed short *out, short *histp, short *hist2p, int type);