From ec33891f6fb137b1fcef5f2755e30bc77e0fec21 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Fri, 3 Feb 2023 03:59:31 +0300 Subject: [PATCH] rsx/overlays: Work around some commitee grandstanding shenanigans ffs: https://bugs.launchpad.net/ubuntu/+source/gcc-8/+bug/1831385 --- rpcs3/Emu/RSX/Overlays/overlay_controls.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/Overlays/overlay_controls.cpp b/rpcs3/Emu/RSX/Overlays/overlay_controls.cpp index 2b98b31fdb..8cfcedb5c5 100644 --- a/rpcs3/Emu/RSX/Overlays/overlay_controls.cpp +++ b/rpcs3/Emu/RSX/Overlays/overlay_controls.cpp @@ -45,8 +45,8 @@ namespace rsx // The final scaling and translation can then be done with fmad const auto angle = degrees_to_radians * ((i * 90) / (num_patch_points - 1)); result[i + 1].vec2( - std::fmaf(std::cosf(angle), scale[0], offset[0]), - std::fmaf(std::sinf(angle), scale[1], offset[1]) + std::fmaf(std::cos(angle), scale[0], offset[0]), + std::fmaf(std::sin(angle), scale[1], offset[1]) ); }