summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-05-26 21:07:52 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-05-26 21:07:52 +0000
commit7d3fe592aba009be6ca6da981fed9d0dd64c8c70 (patch)
tree248a92fe3ca6cf1f2b899f03a7dcb643d4682e9a /Source
parentb524af8fb9246b0bf7b0db2db8f27a9285711080 (diff)
Unbreak nowx build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5499 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp b/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp
index c7cb786a93..e365123bfe 100644
--- a/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp
+++ b/Source/Plugins/Plugin_Wiimote/Src/EmuDynamics.cpp
@@ -181,13 +181,13 @@ void TiltByGamepad(STiltData &_TiltData, int Type)
// Tilting by keyboard
void TiltByKeyboard(STiltData &_TiltData, int Type)
{
+#if defined(HAVE_WX) && HAVE_WX
int _ROLL_LEFT_ = (Type) ? ENC_ROLL_L : EWM_ROLL_L;
int _ROLL_RIGHT_ = (Type) ? ENC_ROLL_R : EWM_ROLL_R;
int _PITCH_UP_ = (Type) ? ENC_PITCH_U : EWM_PITCH_U;
int _PITCH_DOWN_ = (Type) ? ENC_PITCH_D : EWM_PITCH_D;
// Do roll/pitch or free swing
-#if defined(HAVE_WX) && HAVE_WX
if (IsKey(_ROLL_LEFT_))
{