diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index eb3c5e35..e2748c98 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -2577,7 +2577,7 @@ int GetMouseX(void) SetCursorPos(X + WindowWidth + 32, Y + (MouseY * WindowHeight / 224)); } } - else if (FullScreen == 0 && snesmouse != 0 || GUIOn2 == 1) + else if (FullScreen == 0 && snesmouse == 0 || GUIOn2 == 1) { MouseInput->Unacquire(); SetCursorPos(X + WindowWidth + 1, Y + (MouseY * WindowHeight / 224)); @@ -2596,7 +2596,7 @@ int GetMouseX(void) SetCursorPos(X - 32, Y + (MouseY * WindowHeight / 224)); } } - else if (FullScreen == 0 && snesmouse != 0 || GUIOn2 == 1) + else if (FullScreen == 0 && snesmouse == 0 || GUIOn2 == 1) { MouseInput->Unacquire(); SetCursorPos(X - 1, Y + (MouseY * WindowHeight / 224)); @@ -2621,7 +2621,7 @@ int GetMouseY(void) SetCursorPos(X+(MouseX * WindowWidth / 256), Y + WindowHeight + 32); } } - else if (FullScreen == 0 && snesmouse != 0 || GUIOn2 == 1) + else if (FullScreen == 0 && snesmouse == 0 || GUIOn2 == 1) { MouseInput->Unacquire(); SetCursorPos(X+(MouseX * WindowWidth / 256), Y + WindowHeight + 1); @@ -2640,7 +2640,7 @@ int GetMouseY(void) SetCursorPos(X + (MouseX * WindowWidth / 256), Y - 32); } } - else if (FullScreen == 0 && snesmouse != 0 || GUIOn2 == 1) + else if (FullScreen == 0 && snesmouse == 0 || GUIOn2 == 1) { MouseInput->Unacquire(); SetCursorPos(X + (MouseX * WindowWidth / 256), Y - 1);