[Scummvm-git-logs] scummvm master -> 242e70db33fa7f7c1c49cedaa5fcd6029bec269a
bgK
bastien.bouclet at gmail.com
Mon Mar 9 21:16:54 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:
242e70db33 PSP2: Fix build
Commit: 242e70db33fa7f7c1c49cedaa5fcd6029bec269a
https://github.com/scummvm/scummvm/commit/242e70db33fa7f7c1c49cedaa5fcd6029bec269a
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2020-03-09T22:16:10+01:00
Commit Message:
PSP2: Fix build
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 38a0ee0932..1141f7d8ce 100644
--- a/backends/events/psp2sdl/psp2sdl-events.cpp
+++ b/backends/events/psp2sdl/psp2sdl-events.cpp
@@ -274,7 +274,7 @@ void PSP2EventSource::preprocessFingerMotion(SDL_Event *event) {
int xRel = _hiresDX / MULTIPLIER;
int yRel = _hiresDY / MULTIPLIER;
x = _mouseX + xRel;
- y = _mousey + yRel;
+ y = _mouseY + yRel;
_hiresDX %= MULTIPLIER;
_hiresDY %= MULTIPLIER;
}
@@ -314,7 +314,7 @@ void PSP2EventSource::preprocessFingerMotion(SDL_Event *event) {
// starting drag, so push mouse down at current location (back)
// or location of "oldest" finger (front)
int mouseDownX = _mouseX;
- int mouseDownY = _mousey;
+ int mouseDownY = _mouseY;
if (port == 0 && !ConfMan.getBool("frontpanel_touchpad_mode")) {
for (int i = 0; i < MAX_NUM_FINGERS; i++) {
if (_finger[port][i].id == id) {
@@ -417,7 +417,7 @@ void PSP2EventSource::finishSimulatedMouseClicks() {
ev.type = SDL_MOUSEBUTTONUP;
ev.button.button = simulatedButton;
ev.button.x = _mouseX;
- ev.button.y = _mousey;
+ ev.button.y = _mouseY;
SDL_PushEvent(&ev);
_simulatedClickStartTime[port][i] = 0;
More information about the Scummvm-git-logs
mailing list