aboutsummaryrefslogtreecommitdiff
path: root/emulators/openmsx/files/patch-src_sound_BlipBuffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/openmsx/files/patch-src_sound_BlipBuffer.cc')
-rw-r--r--emulators/openmsx/files/patch-src_sound_BlipBuffer.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/openmsx/files/patch-src_sound_BlipBuffer.cc b/emulators/openmsx/files/patch-src_sound_BlipBuffer.cc
new file mode 100644
index 000000000000..5abe500f3751
--- /dev/null
+++ b/emulators/openmsx/files/patch-src_sound_BlipBuffer.cc
@@ -0,0 +1,11 @@
+--- src/sound/BlipBuffer.cc.orig 2025-09-10 16:08:17 UTC
++++ src/sound/BlipBuffer.cc
+@@ -19,7 +19,7 @@ static constexpr int BLIP_RES = 1 << BlipBuffer::BLIP_
+
+
+ // Precalculated impulse table.
+-static constexpr auto impulses = [] {
++static const auto impulses = [] {
+ constexpr int HALF_SIZE = BLIP_RES / 2 * (BLIP_IMPULSE_WIDTH - 1);
+ std::array<double, BLIP_RES + HALF_SIZE + BLIP_RES> fImpulse = {};
+ std::span<double, HALF_SIZE> out = subspan<HALF_SIZE>(fImpulse, BLIP_RES);