Use enhanced Common::Flags

This commit is contained in:
Pokechu22 2022-08-09 12:35:35 -07:00
parent b53f6b00a4
commit 7cea5b9508

View File

@ -277,11 +277,8 @@ u32 WiiIPC::GetGPIOOut()
void WiiIPC::GPIOOutChanged(u32 old_value_hex)
{
Common::Flags<GPIO> old_value;
old_value.m_hex = old_value_hex;
Common::Flags<GPIO> new_value;
new_value.m_hex = GetGPIOOut();
const Common::Flags<GPIO> old_value(old_value_hex);
const Common::Flags<GPIO> new_value(GetGPIOOut());
if (new_value[GPIO::DO_EJECT])
{