Skip to content

Commit

Permalink
Merge pull request #5031 from lioncash/cast
Browse files Browse the repository at this point in the history
CachedInterpreter: Get rid of an unnecessary cast
  • Loading branch information
Parlane committed Mar 7, 2017
2 parents 4d02d38 + a9c570a commit 52f22e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static void WriteBrokenBlockNPC(UGeckoInstruction data)

static bool CheckFPU(u32 data)
{
UReg_MSR& msr = (UReg_MSR&)MSR;
UReg_MSR msr{MSR};
if (!msr.FP)
{
PowerPC::ppcState.Exceptions |= EXCEPTION_FPU_UNAVAILABLE;
Expand Down

0 comments on commit 52f22e2

Please sign in to comment.