mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-16 03:38:30 +12:00
Replaced _rotl with std::rotl
This commit is contained in:
parent
1418186d82
commit
e03cafe729
3 changed files with 6 additions and 6 deletions
|
@ -11,7 +11,7 @@ static uint32 ppc_cmp_and_mask[8] = {
|
|||
};
|
||||
|
||||
|
||||
#define ppc_word_rotl(_data, _n) (_rotl(_data,(_n)&0x1F))
|
||||
#define ppc_word_rotl(_data, _n) (std::rotl<unsigned int>(_data,(_n)&0x1F))
|
||||
|
||||
static inline uint32 ppc_mask(int MB, int ME)
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ uint32 RendererShader::GeneratePrecompiledCacheId()
|
|||
const char* s = EMULATOR_VERSION_SUFFIX;
|
||||
while (*s)
|
||||
{
|
||||
v = _rotl(v, 7);
|
||||
v = std::rotl(v, 7);
|
||||
v += (uint32)(*s);
|
||||
s++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue