CachedInterpreter: Get rid of an unnecessary cast

This is only ever used to read a value and not modify data, so this can
just be constructed by value.
This commit is contained in:
Lioncash 2017-03-06 13:18:44 -05:00
parent 7d681f9c93
commit a9c570a9f8
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;