fark
This commit is contained in:
parent
dfede93bbf
commit
852b618261
|
@ -192,11 +192,13 @@ void SetBias(u16 bias)
|
||||||
Bias = bias;
|
Bias = bias;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetApplyBias(bool enable) {
|
void SetApplyBias(bool enable)
|
||||||
|
{
|
||||||
ApplyBias = enable;
|
ApplyBias = enable;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetDegrade10Bit(bool enable) {
|
void SetDegrade10Bit(bool enable)
|
||||||
|
{
|
||||||
Degrade10Bit = enable;
|
Degrade10Bit = enable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -803,7 +805,7 @@ void Mix(u32 dummy)
|
||||||
|
|
||||||
// Add SOUNDBIAS value
|
// 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.
|
// 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;
|
leftoutput += (Bias << 6) - 0x8000;
|
||||||
rightoutput += (Bias << 6) - 0x8000;
|
rightoutput += (Bias << 6) - 0x8000;
|
||||||
|
|
Loading…
Reference in New Issue