mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user