Fixed a problem in volume slides that caused them to update way too slow.
Music in Ys 6 works again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1490 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2009-07-11 23:46:34 +00:00
parent bef8f8b07f
commit f166306276
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ void V_VolumeSlide::Update()
Value -= PsxRates[(Increment^0x7f)-0x1b+off+32];
}
else
Value -= Increment;
Value -= Increment<<8;
if (Value < 0)
{
@ -221,7 +221,7 @@ void V_VolumeSlide::Update()
if( (Mode & VOLFLAG_EXPONENTIAL) && (Value>=0x60000000))
Value += PsxRates[(Increment^0x7f)-0x18+32];
else
Value += Increment;
Value += Increment<<8;
if( Value < 0 ) // wrapped around the "top"?
{