From 20704509bf59240cee30fa47332863473977ed12 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Tue, 26 Jan 2010 03:05:23 +0000 Subject: [PATCH] Fix a compile issue on platforms other than windows and linux git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4962 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp b/Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp index 0f4a3480f7..7331c95de2 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp @@ -230,6 +230,7 @@ void GetMousePos(float& x, float& y) #endif #endif +#if defined(_WIN32) || (defined(HAVE_X11) && HAVE_X11) /* Calculate the actual picture size and location */ // Output: PictureWidth, PictureHeight, XOffset, YOffset if (g_Config.bKeepAR43 || g_Config.bKeepAR169) @@ -293,6 +294,7 @@ void GetMousePos(float& x, float& y) INFO_LOG(WIIMOTE, "Picture Width:%4.1f Height:%4.1f YOffset:%4.0f XOffset:%4.0f", PictureWidth, PictureHeight, YOffset, XOffset); */ } +#endif // Return the mouse position as a fraction of one, inside the picture, with (0.0, 0.0) being the upper left corner of the picture #ifdef _WIN32