From f32f14dfa258618753ee83990b3523426e245e7e Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Thu, 2 Apr 2020 15:34:21 +0200 Subject: [PATCH] Little oopsie --- src/sfizz/effects/impl/ResonantStringSSE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfizz/effects/impl/ResonantStringSSE.cpp b/src/sfizz/effects/impl/ResonantStringSSE.cpp index 95109cc2..6e02d730 100644 --- a/src/sfizz/effects/impl/ResonantStringSSE.cpp +++ b/src/sfizz/effects/impl/ResonantStringSSE.cpp @@ -47,7 +47,7 @@ static void store_nth_v(__m128 &x, unsigned i, float v) void ResonantStringSSE::init(float sample_rate) { - if (reinterpret_cast(this) & 31) + if (reinterpret_cast(this) & 15) throw std::runtime_error("The resonant string is misaligned for SSE"); fConst0 = _mm_set1_ps(sample_rate);