Skip to content
Permalink
Browse files
Merge pull request #6892 from lioncash/mask
Interpreter_Branch: Make type of the bitmask in rfi a u32 instead of int
  • Loading branch information
Tilka committed May 18, 2018
2 parents 57f9928 + 9911e51 commit 24eeffe
Showing 1 changed file with 1 addition and 1 deletion.
@@ -121,7 +121,7 @@ void Interpreter::rfi(UGeckoInstruction inst)
{
// Restore saved bits from SRR1 to MSR.
// Gecko/Broadway can save more bits than explicitly defined in ppc spec
const int mask = 0x87C0FFFF;
const u32 mask = 0x87C0FFFF;
MSR.Hex = (MSR.Hex & ~mask) | (SRR1 & mask);
// MSR[13] is set to 0.
MSR.Hex &= 0xFFFBFFFF;

0 comments on commit 24eeffe

Please sign in to comment.