From 999cf71dcf4ac9466915edd55a9c91094db1a99c Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Fri, 16 Mar 2018 15:53:20 +0100 Subject: SCI: Add game option for enabling/disabling LarryScale in LSL7 All other SCI games continue using the default scaler. --- engines/sci/graphics/celobj32.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/sci/graphics/celobj32.cpp') 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* -- cgit v1.2.3