aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/machine.cpp
diff options
context:
space:
mode:
authorStrangerke2015-11-28 02:17:05 +0100
committerWillem Jan Palenstijn2015-12-23 21:33:43 +0100
commitc485d9e8a616d475f9155de084012062fe9e5dc8 (patch)
tree950e3b117c445ead379f323f99e9ade12335b671 /engines/lab/machine.cpp
parentff2def7da187c5160443fc6166728f1fc59ff66e (diff)
downloadscummvm-rg350-c485d9e8a616d475f9155de084012062fe9e5dc8.tar.gz
scummvm-rg350-c485d9e8a616d475f9155de084012062fe9e5dc8.tar.bz2
scummvm-rg350-c485d9e8a616d475f9155de084012062fe9e5dc8.zip
LAB: Some rework related to the mouse code
Diffstat (limited to 'engines/lab/machine.cpp')
-rw-r--r--engines/lab/machine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/machine.cpp b/engines/lab/machine.cpp
index ede75e0aec..b2ce65e9db 100644
--- a/engines/lab/machine.cpp
+++ b/engines/lab/machine.cpp
@@ -88,7 +88,7 @@ uint16 SVGACord(uint16 cord) {
/*****************************************************************************/
/* Converts SVGA cords to VGA if necessary, otherwise returns VGA cords. */
/*****************************************************************************/
-uint16 VGAUnScaleX(uint16 x) {
+int VGAUnScaleX(int x) {
if (IsHiRes)
return (x / 2);
else
@@ -98,7 +98,7 @@ uint16 VGAUnScaleX(uint16 x) {
/*****************************************************************************/
/* Converts SVGA cords to VGA if necessary, otherwise returns VGA cords. */
/*****************************************************************************/
-uint16 VGAUnScaleY(uint16 y) {
+int VGAUnScaleY(int y) {
if (IsHiRes)
return ((y * 5) / 12);
else