From 90b676d3681286b9e92db6214e65053e4f4dbbcf Mon Sep 17 00:00:00 2001 From: JosJuice Date: Fri, 17 Feb 2023 16:49:02 +0100 Subject: Android: Fix armeabi-v7a build This very much isn't a build configuration that we're going to ship, but I want to be able to tell people that they can build it on their own if they really want to see how terribly it performs :) Just like before, you'll need to edit two lines in app/build.gradle to define ENABLE_GENERIC=ON and actually enable armeabi-v7a if you want an armeabi-v7a build. This commit just fixes some compilations errors that crop up if you do so. --- Source/Core/Common/Hash.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/Common/Hash.cpp') diff --git a/Source/Core/Common/Hash.cpp b/Source/Core/Common/Hash.cpp index e6b421e96f..51182a0463 100644 --- a/Source/Core/Common/Hash.cpp +++ b/Source/Core/Common/Hash.cpp @@ -216,15 +216,15 @@ static u32 fmix32(u32 h) static void bmix32(u32& h1, u32& h2, u32& k1, u32& k2, u32& c1, u32& c2) { k1 *= c1; - k1 = Common::RotateLeft(k1, 11); + k1 = std::rotl(k1, 11); k1 *= c2; h1 ^= k1; h1 += h2; - h2 = Common::RotateLeft(h2, 17); + h2 = std::rotl(h2, 17); k2 *= c2; - k2 = Common::RotateLeft(k2, 11); + k2 = std::rotl(k2, 11); k2 *= c1; h2 ^= k2; h2 += h1; -- cgit v1.2.3