diff --git a/Source/Core/Core/Src/PowerPC/PowerPC.h b/Source/Core/Core/Src/PowerPC/PowerPC.h index 531edd320a..96845f65ba 100644 --- a/Source/Core/Core/Src/PowerPC/PowerPC.h +++ b/Source/Core/Core/Src/PowerPC/PowerPC.h @@ -140,7 +140,7 @@ inline u32 GetCRField(int cr_field) { return (PowerPC::ppcState.cr >> (4 * cr_field)) & 0xF; } -inline int GetCRBit(int bit) { +inline u32 GetCRBit(int bit) { return (CR >> (31 - bit)) & 1; }