mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-25 18:48:27 -05:00
early-access version 1861
This commit is contained in:
parent
2da54f6e73
commit
6862e786a2
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 1860.
|
This is the source code for early-access 1861.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ s32 ApplyMixRamp(std::span<s32> output, std::span<const s32> input, float gain,
|
|||||||
// XC2 passes in NaN mix volumes, causing further issues as we handle everything as s32 rather
|
// XC2 passes in NaN mix volumes, causing further issues as we handle everything as s32 rather
|
||||||
// than float, so the NaN propogation is lost. As the samples get further modified for
|
// than float, so the NaN propogation is lost. As the samples get further modified for
|
||||||
// volume etc, they can get out of NaN range, so a later heuristic for catching this is
|
// volume etc, they can get out of NaN range, so a later heuristic for catching this is
|
||||||
// more difficult. Handle that here by setting these samples to silence.
|
// more difficult. Handle it here by setting these samples to silence.
|
||||||
if (std::isnan(gain)) {
|
if (std::isnan(gain)) {
|
||||||
gain = 0.0f;
|
gain = 0.0f;
|
||||||
delta = 0.0f;
|
delta = 0.0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user