mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 19:42:45 +01:00
Use enhanced Common::Flags
This commit is contained in:
parent
b53f6b00a4
commit
7cea5b9508
@ -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])
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user