aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/video
diff options
context:
space:
mode:
authorColin Snover2016-09-24 12:35:25 -0500
committerColin Snover2016-09-29 19:39:16 -0500
commit2a27f27bb4f4ad979559e77d547cd6c8c2504f11 (patch)
treee28ad1d8dba1cb1bda4a1340fba9e06bbba9e0c0 /engines/sci/video
parent7011ee8f507da0598b46e19004169e5d60d7d5a6 (diff)
downloadscummvm-rg350-2a27f27bb4f4ad979559e77d547cd6c8c2504f11.tar.gz
scummvm-rg350-2a27f27bb4f4ad979559e77d547cd6c8c2504f11.tar.bz2
scummvm-rg350-2a27f27bb4f4ad979559e77d547cd6c8c2504f11.zip
SCI32: Clean up scaling flags
Diffstat (limited to 'engines/sci/video')
-rw-r--r--engines/sci/video/robot_decoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/video/robot_decoder.cpp b/engines/sci/video/robot_decoder.cpp
index 1757088ea4..0426dd0dac 100644
--- a/engines/sci/video/robot_decoder.cpp
+++ b/engines/sci/video/robot_decoder.cpp
@@ -445,7 +445,7 @@ void RobotDecoder::initVideo(const int16 x, const int16 y, const int16 scale, co
if (scale != 128) {
_scaleInfo.x = scale;
_scaleInfo.y = scale;
- _scaleInfo.signal = kScaleSignalDoScaling32;
+ _scaleInfo.signal = kScaleSignalManual;
}
_plane = g_sci->_gfxFrameout->getPlanes().findByObject(plane);
@@ -1391,7 +1391,7 @@ void RobotDecoder::doVersion5(const bool shouldSubmitAudio) {
// TODO: Version 6 robot?
// int scaleXRemainder;
- if (_scaleInfo.signal == kScaleSignalDoScaling32) {
+ if (_scaleInfo.signal == kScaleSignalManual) {
position.x = (position.x * _scaleInfo.x) / 128;
// TODO: Version 6 robot?
// scaleXRemainder = (position.x * _scaleInfo.x) % 128;