Misc : Fixed undefined behaviour warning

Co-Authored-By: Ty <29295048+F0bes@users.noreply.github.com>
This commit is contained in:
Mrlinkwii 2023-09-08 18:31:44 +01:00 committed by refractionpcsx2
parent 5633053655
commit 48549ff790
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ extern void psxRecompileNextInstruction(bool delayslot, bool swapped_delayslot);
{ \ { \
if ((reg) < 32) \ if ((reg) < 32) \
{ \ { \
g_psxHasConstReg |= (1 << (reg)); \ g_psxHasConstReg |= (1u << (reg)); \
g_psxFlushedConstReg &= ~(1 << (reg)); \ g_psxFlushedConstReg &= ~(1u << (reg)); \
} \ } \
} }