aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/celobj32.cpp
diff options
context:
space:
mode:
authorDaniel Wolf2018-03-16 15:53:20 +0100
committerDaniel Wolf2018-03-16 22:33:06 +0100
commit999cf71dcf4ac9466915edd55a9c91094db1a99c (patch)
tree2333e10d0ab47a31ea8c65e838166d0aa09cb745 /engines/sci/graphics/celobj32.cpp
parentf8c32b07e7bc219e81df6d1f27209ac28d3ced6b (diff)
downloadscummvm-rg350-999cf71dcf4ac9466915edd55a9c91094db1a99c.tar.gz
scummvm-rg350-999cf71dcf4ac9466915edd55a9c91094db1a99c.tar.bz2
scummvm-rg350-999cf71dcf4ac9466915edd55a9c91094db1a99c.zip
SCI: Add game option for enabling/disabling LarryScale in LSL7
All other SCI games continue using the default scaler.
Diffstat (limited to 'engines/sci/graphics/celobj32.cpp')
-rw-r--r--engines/sci/graphics/celobj32.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/graphics/celobj32.cpp b/engines/sci/graphics/celobj32.cpp
index fbf8f81d07..f11c75ab2b 100644
--- a/engines/sci/graphics/celobj32.cpp
+++ b/engines/sci/graphics/celobj32.cpp
@@ -32,6 +32,7 @@
#include "sci/engine/workarounds.h"
#include "sci/util.h"
#include "graphics/larryScale.h"
+#include "common/config-manager.h"
namespace Sci {
#pragma mark CelScaler
@@ -201,7 +202,7 @@ struct SCALER_Scale {
const CelScalerTable &table = CelObj::_scaler->getScalerTable(scaleX, scaleY);
- const bool useLarryScale = true;
+ const bool useLarryScale = ConfMan.getBool("enable_larryscale");
if (useLarryScale) {
// LarryScale is an alternative, high-quality cel scaler implemented
// for ScummVM. Due to the nature of smooth upscaling, it does *not*