SPU2:fix Wsign-compare warning

SPU2:fix Wsign-compare warning
This commit is contained in:
Mrlinkwii 2021-09-26 16:07:00 +01:00 committed by refractionpcsx2
parent 71b2c17e2c
commit 485e514409
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ void SPU2writeDMA7Mem(u16* pMem, u32 size)
s32 SPU2reset(PS2Modes isRunningPSXMode) s32 SPU2reset(PS2Modes isRunningPSXMode)
{ {
u32 requiredSampleRate = (isRunningPSXMode == PS2Modes::PSX) ? 44100 : 48000; int requiredSampleRate = (isRunningPSXMode == PS2Modes::PSX) ? 44100 : 48000;
if (isRunningPSXMode == PS2Modes::PS2) if (isRunningPSXMode == PS2Modes::PS2)
{ {