mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Merge pull request #6892 from lioncash/mask
Interpreter_Branch: Make type of the bitmask in rfi a u32 instead of int
This commit is contained in:
commit
24eeffea7d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user