mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Dumb typo.
This commit is contained in:
parent
fa6f004213
commit
b5ac7b0c5f
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ u32 sceSasSetADSR(u32 core, int voiceNum, int flag, int a, int d, int s, int r)
|
|||
return ERROR_SAS_INVALID_VOICE;
|
||||
}
|
||||
// Create a mask like flag for the invalid values.
|
||||
int invalid = (a < 0 ? 0x1 : 0) | (a < 0 ? 0x1 : 0) | (s < 0 ? 0x1 : 0) | (r < 0 ? 0x1 : 0);
|
||||
int invalid = (a < 0 ? 0x1 : 0) | (d < 0 ? 0x2 : 0) | (s < 0 ? 0x4 : 0) | (r < 0 ? 0x8 : 0);
|
||||
if (invalid & flag) {
|
||||
WARN_LOG_REPORT(SCESAS, "sceSasSetADSR(%08x, %i, %i, %08x, %08x, %08x, %08x): invalid value", core, voiceNum, flag, a, d, s, r)
|
||||
return ERROR_SAS_INVALID_ADSR_RATE;
|
||||
|
|
Loading…
Add table
Reference in a new issue