diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2021-08-17 00:56:50 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2021-08-17 01:01:15 +0200 |
commit | 415ab22f3a1096583e7cb8f85b4924f94e630bac (patch) | |
tree | 43de3c782b8cb5b719666556bf583eff974d3a33 /src/SPU.cpp | |
parent | 2aeb452dfb8e4f68a396e8729a5c2506f88db32f (diff) |
fark
Diffstat (limited to 'src/SPU.cpp')
-rw-r--r-- | src/SPU.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/SPU.cpp b/src/SPU.cpp index 39fd946..e2f3277 100644 --- a/src/SPU.cpp +++ b/src/SPU.cpp @@ -192,11 +192,13 @@ void SetBias(u16 bias) Bias = bias; } -void SetApplyBias(bool enable) { +void SetApplyBias(bool enable) +{ ApplyBias = enable; } -void SetDegrade10Bit(bool enable) { +void SetDegrade10Bit(bool enable) +{ Degrade10Bit = enable; } @@ -803,7 +805,7 @@ void Mix(u32 dummy) // Add SOUNDBIAS value // The value used by all commercial games is 0x200, so we subtract that so it won't offset the final sound output. - if (ApplyBias == true) + if (ApplyBias) { leftoutput += (Bias << 6) - 0x8000; rightoutput += (Bias << 6) - 0x8000; |