aboutsummaryrefslogtreecommitdiff
path: root/backends/events
diff options
context:
space:
mode:
authorD G Turner2019-10-05 01:49:21 +0100
committerD G Turner2019-10-05 01:49:21 +0100
commit7b247bad4c09af60742ce0f531bf96e3936656d9 (patch)
tree649388a91f93823ee3caeeb4fbdf42062d970faf /backends/events
parent03380c0e8a4daf13c51186bcebccccc983c9ed96 (diff)
downloadscummvm-rg350-7b247bad4c09af60742ce0f531bf96e3936656d9.tar.gz
scummvm-rg350-7b247bad4c09af60742ce0f531bf96e3936656d9.tar.bz2
scummvm-rg350-7b247bad4c09af60742ce0f531bf96e3936656d9.zip
SWITCH: Remove Set But Unused Variables from Events Code
These were causing compiler warnings for the porter.
Diffstat (limited to 'backends/events')
-rw-r--r--backends/events/switchsdl/switchsdl-events.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/backends/events/switchsdl/switchsdl-events.cpp b/backends/events/switchsdl/switchsdl-events.cpp
index 9a42dc3e40..54f6784f4b 100644
--- a/backends/events/switchsdl/switchsdl-events.cpp
+++ b/backends/events/switchsdl/switchsdl-events.cpp
@@ -349,12 +349,6 @@ void SwitchEventSource::convertTouchXYToGameXY(float touchX, float touchY, int *
int screenH = _km.y_max;
int screenW = _km.x_max;
- int windowH = g_system->getHeight();
- int windowW = g_system->getWidth();
-
- bool fullscreen = ConfMan.getBool("fullscreen");
- bool aspectRatioCorrection = ConfMan.getBool("aspect_ratio");
-
const int dispW = TOUCHSCREEN_WIDTH;
const int dispH = TOUCHSCREEN_HEIGHT;