diff options
author | Martin Kiewitz | 2014-06-08 23:09:35 +0200 |
---|---|---|
committer | Martin Kiewitz | 2014-06-08 23:10:17 +0200 |
commit | 924f1f1fee3f46a6bfcd6182631bdd91f61c279e (patch) | |
tree | 1c063c5c5d98d6b24bb7f661efd5dbc41b055191 /engines/sci | |
parent | a8d1454e165fa2178a0463e96a2ee40bd9487627 (diff) | |
download | scummvm-rg350-924f1f1fee3f46a6bfcd6182631bdd91f61c279e.tar.gz scummvm-rg350-924f1f1fee3f46a6bfcd6182631bdd91f61c279e.tar.bz2 scummvm-rg350-924f1f1fee3f46a6bfcd6182631bdd91f61c279e.zip |
SCI: fix coordination translation for 480x300 mac
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/screen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp index 806881cc2a..c5c94d7991 100644 --- a/engines/sci/graphics/screen.cpp +++ b/engines/sci/graphics/screen.cpp @@ -778,6 +778,10 @@ void GfxScreen::adjustBackUpscaledCoordinates(int16 &y, int16 &x, Sci32ViewNativ } switch (_upscaledHires) { + case GFX_SCREEN_UPSCALED_480x300: + x = (x << 1) / 3; + y = (y << 1) / 3; + break; case GFX_SCREEN_UPSCALED_640x400: x /= 2; y /= 2; |