Replaced _rotl with std::rotl

This commit is contained in:
Tom Lally 2022-08-30 11:47:35 +01:00
parent 1418186d82
commit e03cafe729
3 changed files with 6 additions and 6 deletions

View file

@ -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)
{

View file

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