[Scummvm-git-logs] scummvm master -> 28a1f729ff006605aff559ecc483749f7bc228f1

rsn8887 rsn8887 at users.noreply.github.com
Sat Oct 10 14:21:31 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
28a1f729ff BACKENDS: Fix reading window height in PSP2 events


Commit: 28a1f729ff006605aff559ecc483749f7bc228f1
    https://github.com/scummvm/scummvm/commit/28a1f729ff006605aff559ecc483749f7bc228f1
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2020-10-10T09:20:59-05:00

Commit Message:
BACKENDS: Fix reading window height in PSP2 events

Changed paths:
    backends/events/psp2sdl/psp2sdl-events.cpp


diff --git a/backends/events/psp2sdl/psp2sdl-events.cpp b/backends/events/psp2sdl/psp2sdl-events.cpp
index 2a14df2e24..d768fa98b9 100644
--- a/backends/events/psp2sdl/psp2sdl-events.cpp
+++ b/backends/events/psp2sdl/psp2sdl-events.cpp
@@ -379,7 +379,7 @@ void PSP2EventSource::preprocessFingerMotion(SDL_Event *event) {
 }
 
 void PSP2EventSource::convertTouchXYToGameXY(float touchX, float touchY, int *gameX, int *gameY) {
-	int screenH = dynamic_cast<WindowedGraphicsManager *>(_graphicsManager)->getWindowHeight;
+	int screenH = dynamic_cast<WindowedGraphicsManager *>(_graphicsManager)->getWindowHeight();
 	int screenW = dynamic_cast<WindowedGraphicsManager *>(_graphicsManager)->getWindowWidth();
 
 	const int dispW = TOUCHSCREEN_WIDTH;




More information about the Scummvm-git-logs mailing list