Move platform-specific variables into proper scope.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5484 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2010-05-26 20:46:51 +00:00
parent daf1069c27
commit cf62b10956
3 changed files with 3 additions and 3 deletions

View file

@ -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);