Skip to content

Commit

Permalink
Merge pull request #11910 from lioncash/construct
Browse files Browse the repository at this point in the history
PowerPC/ConditionRegister: Mark PPCToInternal() as constexpr
  • Loading branch information
JosJuice committed Jun 8, 2023
2 parents 0d07eba + 09271f3 commit f561bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/ConditionRegister.h
Expand Up @@ -45,7 +45,7 @@ struct ConditionRegister
u64 fields[8];

// Convert between PPC and internal representation of CR.
static u64 PPCToInternal(u8 value)
static constexpr u64 PPCToInternal(u8 value)
{
u64 cr_val = 0x100000000;
cr_val |= (u64) !!(value & CR_SO) << CR_EMU_SO_BIT;
Expand Down

0 comments on commit f561bd4

Please sign in to comment.