Merge pull request #5031 from lioncash/cast

CachedInterpreter: Get rid of an unnecessary cast
This commit is contained in:
Matthew Parlane 2017-03-07 18:11:00 +13:00 committed by GitHub
commit 52f22e240b
1 changed files with 1 additions and 1 deletions

View File

@ -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;