From 00672cb8c9801ee8deb78d6119b51553328f6b7f Mon Sep 17 00:00:00 2001 From: dinkc64 <12570148+dinkc64@users.noreply.github.com> Date: Sat, 18 Oct 2014 21:20:23 +0000 Subject: [PATCH] k054539 wipwip+1. fixes missing sounds in mystic warriors, reverb disabled for now, causes clicks. (dont think it ever worked to begin with though) --- src/burn/snd/k054539.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/burn/snd/k054539.cpp b/src/burn/snd/k054539.cpp index b23096297..05378ee36 100644 --- a/src/burn/snd/k054539.cpp +++ b/src/burn/snd/k054539.cpp @@ -361,7 +361,7 @@ void K054539Exit() } // ------------ NEW NEW NEW!!! -void K054539UpdateNEWBUTCRACKLES(INT32 chip, INT16 *pBuf, INT32 length) +void K054539Update(INT32 chip, INT16 *pBuf, INT32 length) { #if defined FBA_DEBUG if (!DebugSnd_K054539Initted) bprintf(PRINT_ERROR, _T("K054539Update called without init\n")); @@ -386,9 +386,9 @@ void K054539UpdateNEWBUTCRACKLES(INT32 chip, INT16 *pBuf, INT32 length) for(int sample = 0; sample < length; sample++) { double lval, rval; - if(!(info->k054539_flags & K054539_DISABLE_REVERB)) + /*if(!(info->k054539_flags & K054539_DISABLE_REVERB)) lval = rval = rbase[reverb_pos]; - else + else reverb broke, didn't work anyways. :dink:WILLFIX*/ lval = rval = 0; rbase[reverb_pos] = 0; @@ -591,7 +591,7 @@ void K054539UpdateNEWBUTCRACKLES(INT32 chip, INT16 *pBuf, INT32 length) } // OLD version. -void K054539Update(INT32 chip, INT16 *pBuf, INT32 length) +void K054539UpdateOLD(INT32 chip, INT16 *pBuf, INT32 length) { #if defined FBA_DEBUG if (!DebugSnd_K054539Initted) bprintf(PRINT_ERROR, _T("K054539Update called without init\n"));