mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
Misc : Fixed undefined behaviour warning
Co-Authored-By: Ty <29295048+F0bes@users.noreply.github.com>
This commit is contained in:
committed by
refractionpcsx2
co-authored by
Ty
parent
5633053655
commit
48549ff790
+2
-2
@@ -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)); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user