diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 20:46:51 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 20:46:51 +0000 |
| commit | cf62b109565ee0efb5a18a37c63e5ed71fc64d63 (patch) | |
| tree | 46557aa24ec0af1f1b89c527c77d7e023cf9a43b /Source/Plugins/InputPluginCommon/Src/ControllerEmu.cpp | |
| parent | daf1069c2768495bc3fa6508491b5c0e7adab2da (diff) | |
Move platform-specific variables into proper scope.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5484 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/InputPluginCommon/Src/ControllerEmu.cpp')
| -rw-r--r-- | Source/Plugins/InputPluginCommon/Src/ControllerEmu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/InputPluginCommon/Src/ControllerEmu.cpp b/Source/Plugins/InputPluginCommon/Src/ControllerEmu.cpp index 2e6f73b620..22ec6b6960 100644 --- a/Source/Plugins/InputPluginCommon/Src/ControllerEmu.cpp +++ b/Source/Plugins/InputPluginCommon/Src/ControllerEmu.cpp @@ -295,9 +295,9 @@ ControllerEmu::Cursor::Cursor( const char* const _name, const SWiimoteInitialize void GetMousePos(float& x, float& y, const SWiimoteInitialize* const wiimote_initialize) { +#ifdef _WIN32 unsigned int win_width = 2, win_height = 2; -#ifdef _WIN32 // Get the cursor position for the entire screen POINT point = { 1, 1 }; GetCursorPos(&point); |
