mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Fix compilation on GCC and other Linux fixes (#80)
This commit is contained in:
parent
96dcc7c82e
commit
454b587e36
43 changed files with 339 additions and 292 deletions
|
@ -713,8 +713,8 @@ void _calculateMappedImportNameHash(const char* rplName, const char* funcName, u
|
|||
uint64 v = (uint64)*rplName;
|
||||
h1 += v;
|
||||
h2 ^= v;
|
||||
h1 = _rotl64(h1, 3);
|
||||
h2 = _rotl64(h2, 7);
|
||||
h1 = std::rotl(h1, 3);
|
||||
h2 = std::rotl(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 = _rotl64(h1, 3);
|
||||
h2 = _rotl64(h2, 7);
|
||||
h1 = std::rotl(h1, 3);
|
||||
h2 = std::rotl(h2, 7);
|
||||
funcName++;
|
||||
}
|
||||
*h1Out = h1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue