diff options
author | Strangerke | 2015-11-28 02:17:05 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:43 +0100 |
commit | c485d9e8a616d475f9155de084012062fe9e5dc8 (patch) | |
tree | 950e3b117c445ead379f323f99e9ade12335b671 /engines/lab/machine.cpp | |
parent | ff2def7da187c5160443fc6166728f1fc59ff66e (diff) | |
download | scummvm-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.cpp | 4 |
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 |