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:
parent
7d681f9c93
commit
a9c570a9f8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue