Misc : Fixed undefined behaviour warning

Co-Authored-By: Ty <29295048+F0bes@users.noreply.github.com>
This commit is contained in:
Mrlinkwii
2023-09-09 09:15:54 +01:00
committed by refractionpcsx2
co-authored by Ty
parent 5633053655
commit 48549ff790
+2 -2
View File
@@ -67,8 +67,8 @@ extern void psxRecompileNextInstruction(bool delayslot, bool swapped_delayslot);
{ \
if ((reg) < 32) \
{ \
g_psxHasConstReg |= (1 << (reg)); \
g_psxFlushedConstReg &= ~(1 << (reg)); \
g_psxHasConstReg |= (1u << (reg)); \
g_psxFlushedConstReg &= ~(1u << (reg)); \
} \
}