mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
c30f67b767
commit
8d80ff0652
|
@ -814,6 +814,7 @@ static void __fastcall RegWrite_VoiceParams( u16 value )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
|
if (value > 0x3fff) ConLog( "* SPU2: Pitch setting too big: 0x%x\n", value);
|
||||||
thisvoice.Pitch = value & 0x3fff;
|
thisvoice.Pitch = value & 0x3fff;
|
||||||
break;
|
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.
|
// [Air] : Mysterious ADSR set code. Too bad none of my games ever use it.
|
||||||
// (as usual... )
|
// (as usual... )
|
||||||
thisvoice.ADSR.Value = (value << 16) | value;
|
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;
|
break;
|
||||||
|
|
||||||
case 6: thisvoice.Volume.Left.RegSet( value ); break;
|
case 6: thisvoice.Volume.Left.RegSet( value ); break;
|
||||||
|
|
Loading…
Reference in New Issue