From f53f7d48709a3c124728c068173e096ba325d692 Mon Sep 17 00:00:00 2001 From: CorvusPrudens Date: Thu, 14 Sep 2023 13:34:36 -0600 Subject: [PATCH] Corrected fastroot (#190) --- Source/Utility/dsp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Utility/dsp.h b/Source/Utility/dsp.h index 802f6b55..e870e88b 100644 --- a/Source/Utility/dsp.h +++ b/Source/Utility/dsp.h @@ -80,7 +80,7 @@ inline float fastroot(float f, int n) lp = (long *)(&f); l = *lp; l -= 0x3F800000; - l >>= (n = 1); + l >>= (n - 1); l += 0x3F800000; *lp = l; return f;