mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Use enhanced Common::Flags
This commit is contained in:
parent
b53f6b00a4
commit
7cea5b9508
1 changed files with 2 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue