aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
diff options
context:
space:
mode:
authorCeRiAl2011-04-28 06:43:56 +0800
committerIsmail Khatib2011-05-18 06:04:24 +0800
commite46f7dc1c02165bad9c7fae6a8fe1fc0a95d70d9 (patch)
tree44788e81f887de525fbe471efb080ba96fbbde6c /backends/graphics
parent6db6d69eedeb74d4863b2dd964407ca8bca1c4a8 (diff)
downloadscummvm-rg350-e46f7dc1c02165bad9c7fae6a8fe1fc0a95d70d9.tar.gz
scummvm-rg350-e46f7dc1c02165bad9c7fae6a8fe1fc0a95d70d9.tar.bz2
scummvm-rg350-e46f7dc1c02165bad9c7fae6a8fe1fc0a95d70d9.zip
WINCE: Fix mouse coordinate scaling when ARM scaler support is active
Diffstat (limited to 'backends/graphics')
-rw-r--r--backends/graphics/wincesdl/wincesdl-graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/wincesdl/wincesdl-graphics.cpp b/backends/graphics/wincesdl/wincesdl-graphics.cpp
index 9ece31d398..80b04ca56d 100644
--- a/backends/graphics/wincesdl/wincesdl-graphics.cpp
+++ b/backends/graphics/wincesdl/wincesdl-graphics.cpp
@@ -1160,16 +1160,16 @@ void WINCESdlGraphicsManager::adjustMouseEvent(const Common::Event &event) {
if (!event.synthetic) {
Common::Event newEvent(event);
newEvent.synthetic = true;
+ /*
if (!_overlayVisible) {
- /*
newEvent.mouse.x = newEvent.mouse.x * _scaleFactorXd / _scaleFactorXm;
newEvent.mouse.y = newEvent.mouse.y * _scaleFactorYd / _scaleFactorYm;
newEvent.mouse.x /= _videoMode.scaleFactor;
newEvent.mouse.y /= _videoMode.scaleFactor;
- */
if (_videoMode.aspectRatioCorrection)
newEvent.mouse.y = aspect2Real(newEvent.mouse.y);
}
+ */
g_system->getEventManager()->pushEvent(newEvent);
}
}