mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Misc. Linux improvements and bug fixes. (#121)
Co-authored-by: Tom Lally <tomlally@protonmail.com>
This commit is contained in:
parent
b8d4cf5b29
commit
d3a7b3b5a6
23 changed files with 101 additions and 104 deletions
|
@ -713,8 +713,8 @@ void _calculateMappedImportNameHash(const char* rplName, const char* funcName, u
|
|||
uint64 v = (uint64)*rplName;
|
||||
h1 += v;
|
||||
h2 ^= v;
|
||||
h1 = std::rotl(h1, 3);
|
||||
h2 = std::rotl(h2, 7);
|
||||
h1 = std::rotl<uint64>(h1, 3);
|
||||
h2 = std::rotl<uint64>(h2, 7);
|
||||
rplName++;
|
||||
}
|
||||
// funcName
|
||||
|
@ -723,8 +723,8 @@ void _calculateMappedImportNameHash(const char* rplName, const char* funcName, u
|
|||
uint64 v = (uint64)*funcName;
|
||||
h1 += v;
|
||||
h2 ^= v;
|
||||
h1 = std::rotl(h1, 3);
|
||||
h2 = std::rotl(h2, 7);
|
||||
h1 = std::rotl<uint64>(h1, 3);
|
||||
h2 = std::rotl<uint64>(h2, 7);
|
||||
funcName++;
|
||||
}
|
||||
*h1Out = h1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue