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.
This commit is contained in:
JosJuice
2023-02-17 16:49:02 +01:00
parent 661b74f4a3
commit 90b676d368
3 changed files with 13 additions and 10 deletions

View File

@ -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;