Skip to content

Commit

Permalink
Misc : Fixed undefined behaviour warning
Browse files Browse the repository at this point in the history
Co-Authored-By: Ty <[email protected]>
  • Loading branch information
2 people authored and refractionpcsx2 committed Sep 9, 2023
1 parent 5633053 commit 48549ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pcsx2/x86/iR3000A.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)); \
} \
}

Expand Down

0 comments on commit 48549ff

Please sign in to comment.