diff --git a/Source/Core/DolphinWX/Src/Main.cpp b/Source/Core/DolphinWX/Src/Main.cpp index 66ceb92b5f..9cef859181 100644 --- a/Source/Core/DolphinWX/Src/Main.cpp +++ b/Source/Core/DolphinWX/Src/Main.cpp @@ -619,12 +619,10 @@ void Host_SetDebugMode(bool) void Host_SetWaitCursor(bool enable) { #ifdef _WIN32 - if (enable) + if(enable) { SetCursor(LoadCursor(NULL, IDC_WAIT)); - } - else - { + } else { SetCursor(LoadCursor(NULL, IDC_ARROW)); } #endif diff --git a/Source/Plugins/Plugin_VideoDX9/Plugin_VideoDX9.vcproj b/Source/Plugins/Plugin_VideoDX9/Plugin_VideoDX9.vcproj index f4b0540b8f..fb632476e3 100644 --- a/Source/Plugins/Plugin_VideoDX9/Plugin_VideoDX9.vcproj +++ b/Source/Plugins/Plugin_VideoDX9/Plugin_VideoDX9.vcproj @@ -1,7 +1,7 @@ +#include "afxres.h" ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS @@ -185,7 +185,7 @@ END 2 TEXTINCLUDE BEGIN - "#include -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp b/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp index 8d419c0916..b8b99fbec8 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp @@ -302,7 +302,9 @@ int GetMapKeyState(int _MapKey) const int Page = 0; if (_MapKey < 256) +#ifdef WIN32 return GetAsyncKeyState(_MapKey); // Keyboard +#endif else if (_MapKey < 0x1100) return SDL_JoystickGetButton(PadState[Page].joy, _MapKey - 0x1000); // Pad button else // Pad hat @@ -320,7 +322,7 @@ int GetMapKeyState(int _MapKey) // Multi System Input Status Check int IsKey(int Key) { -#ifdef _WIN32 +#ifdef WIN32 if (g_Wiimote_kbd.A <= Key && Key <= g_Wiimote_kbd.PITCH_R) { return GetMapKeyState(PadMapping[0].Wm.keyForControls[Key - g_Wiimote_kbd.A]);