VERY experimental Nintendo Switch 2 emulator
C++
[audio_core] Fix audio issue in The Legend of Zelda - Echoes of Wisdom (#2594)
MaranBr9a098441def2
diff --git a/src/audio_core/renderer/behavior/info_updater.cpp b/src/audio_core/renderer/behavior/info_updater.cppindex 3dae6069f7..48fe1f8975 100644--- a/src/audio_core/renderer/behavior/info_updater.cpp+++ b/src/audio_core/renderer/behavior/info_updater.cpp@@ -1,3 +1,6 @@+// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project+// SPDX-License-Identifier: GPL-3.0-or-later+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project// SPDX-License-Identifier: GPL-2.0-or-later@@ -162,6 +165,12 @@ Result InfoUpdater::UpdateEffectsVersion1(EffectContext& effect_context, const breinterpret_cast<EffectInfoBase::OutStatusVersion1*>(output), effect_count};for (u32 i = 0; i < effect_count; i++) {+#ifdef _WIN32+ // There's a bug in Windows where using this effect causes extreme noise. So let's skip it.+ if (in_params[i].type == EffectInfoBase::Type::Reverb) {+ continue;+ }+#endifauto effect_info{&effect_context.GetInfo(i)};if (effect_info->GetType() != in_params[i].type) {effect_info->ForceUnmapBuffers(pool_mapper);@@ -209,6 +218,12 @@ Result InfoUpdater::UpdateEffectsVersion2(EffectContext& effect_context, const breinterpret_cast<EffectInfoBase::OutStatusVersion2*>(output), effect_count};for (u32 i = 0; i < effect_count; i++) {+#ifdef _WIN32+ // There's a bug in Windows where using this effect causes extreme noise. So let's skip it.+ if (in_params[i].type == EffectInfoBase::Type::Reverb) {+ continue;+ }+#endifauto effect_info{&effect_context.GetInfo(i)};if (effect_info->GetType() != in_params[i].type) {effect_info->ForceUnmapBuffers(pool_mapper);