diff --git a/Source/Core/Core/HW/WII_IPC.cpp b/Source/Core/Core/HW/WII_IPC.cpp index 06625c62bc..3cf1c76b5d 100644 --- a/Source/Core/Core/HW/WII_IPC.cpp +++ b/Source/Core/Core/HW/WII_IPC.cpp @@ -277,11 +277,8 @@ u32 WiiIPC::GetGPIOOut() void WiiIPC::GPIOOutChanged(u32 old_value_hex) { - Common::Flags old_value; - old_value.m_hex = old_value_hex; - - Common::Flags new_value; - new_value.m_hex = GetGPIOOut(); + const Common::Flags old_value(old_value_hex); + const Common::Flags new_value(GetGPIOOut()); if (new_value[GPIO::DO_EJECT]) {