SPU2-X: Adding a log for bad pitch settings, in preparation of changing current behavior. (Need to check some games that do it first)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5545 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2013-02-05 14:21:24 +00:00
parent c30f67b767
commit 8d80ff0652
1 changed files with 2 additions and 1 deletions

View File

@ -814,6 +814,7 @@ static void __fastcall RegWrite_VoiceParams( u16 value )
break;
case 2:
if (value > 0x3fff) ConLog( "* SPU2: Pitch setting too big: 0x%x\n", value);
thisvoice.Pitch = value & 0x3fff;
break;
@ -829,7 +830,7 @@ static void __fastcall RegWrite_VoiceParams( u16 value )
// [Air] : Mysterious ADSR set code. Too bad none of my games ever use it.
// (as usual... )
thisvoice.ADSR.Value = (value << 16) | value;
ConLog( "* SPU2: Mysterious ADSR Volume Set to 0x%x", value );
ConLog( "* SPU2: Mysterious ADSR Volume Set to 0x%x\n", value );
break;
case 6: thisvoice.Volume.Left.RegSet( value ); break;