SPU2-X: Fix some signed/unsigned mismatch warnings.

This commit is contained in:
Lioncash 2014-07-15 00:09:48 -04:00
parent 9a950cdca6
commit 0a825a1aa4
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ static void __forceinline IncrementNextA(V_Core& thiscore, uint voiceidx)
// Important! Both cores signal IRQ when an address is read, regardless of
// which core actually reads the address.
for( uint i=0; i<2; i++ )
for( int i=0; i<2; i++ )
{
if( Cores[i].IRQEnable && (vc.NextA==Cores[i].IRQA ) )
{
@ -522,7 +522,7 @@ static __forceinline s32 GetNoiseValues( V_Core& thiscore, uint voiceidx )
static __forceinline void spu2M_WriteFast( u32 addr, s16 value )
{
// Fixes some of the oldest hangs in pcsx2's history! :p
for( uint i=0; i<2; i++ )
for( int i=0; i<2; i++ )
{
if( Cores[i].IRQEnable && Cores[i].IRQA == addr )
{

View File

@ -140,7 +140,7 @@ StereoOut32 V_Core::DoReverb( const StereoOut32& Input )
// within that zone then the "bulk" of the test is skipped, so this should only
// be a slowdown on a few evil games.
for( uint i=0; i<2; i++ )
for( int i=0; i<2; i++ )
{
if( Cores[i].IRQEnable && ((Cores[i].IRQA >= EffectsStartA) && (Cores[i].IRQA <= EffectsEndA)) )
{