mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 22:58:50 +00:00
WiimoteEmu: check for __APPLE__ with defined()
This is only defined on certain platforms and isn't always defined.
This commit is contained in:
parent
3c64d030c5
commit
a9f89a7d3b
1 changed files with 1 additions and 1 deletions
|
@ -694,7 +694,7 @@ void Wiimote::LoadDefaults(const ControllerInterface& ciface)
|
||||||
m_buttons->SetControlExpression(0, "`Click 1`");
|
m_buttons->SetControlExpression(0, "`Click 1`");
|
||||||
// B
|
// B
|
||||||
m_buttons->SetControlExpression(1, "`Click 3`");
|
m_buttons->SetControlExpression(1, "`Click 3`");
|
||||||
#elif __APPLE__
|
#elif defined(__APPLE__)
|
||||||
// A
|
// A
|
||||||
m_buttons->SetControlExpression(0, "`Left Click`");
|
m_buttons->SetControlExpression(0, "`Left Click`");
|
||||||
// B
|
// B
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue