mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-21 17:01:14 -05:00
Gekko: Make UReg_FPSCR's single argument constructor explicit
Prevent implicit conversions to UReg_FPSCR. Given the semantics of a random magic value and the FPSCR are different, make explicit conversions a requirement to signify intent.
This commit is contained in:
@@ -128,7 +128,7 @@ static void ResetRegisters()
|
||||
ppcState.spr[SPR_ECID_M] = 0x1840c00d;
|
||||
ppcState.spr[SPR_ECID_L] = 0x82bb08e8;
|
||||
|
||||
ppcState.fpscr = 0;
|
||||
ppcState.fpscr.Hex = 0;
|
||||
ppcState.pc = 0;
|
||||
ppcState.npc = 0;
|
||||
ppcState.Exceptions = 0;
|
||||
|
||||
Reference in New Issue
Block a user