aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Comstedt2005-06-27 21:44:40 +0000
committerMarcus Comstedt2005-06-27 21:44:40 +0000
commitc3f975c7b88fb5e4589640562e3700d2918538a6 (patch)
treeca59269d4b0c4af658164f7903b57ded7ad2a370
parent6d70218f35f3af8fcada1f20f98a2af0afbe9775 (diff)
downloadscummvm-rg350-c3f975c7b88fb5e4589640562e3700d2918538a6.tar.gz
scummvm-rg350-c3f975c7b88fb5e4589640562e3700d2918538a6.tar.bz2
scummvm-rg350-c3f975c7b88fb5e4589640562e3700d2918538a6.zip
Better test for disabled scalers...
svn-id: r18474
-rw-r--r--Makefile.common4
-rw-r--r--scumm/thumbnail.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 4eb8377739..ce76cc8385 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -108,6 +108,10 @@ ifdef USE_MT32EMU
MODULES += sound/softsynth/mt32
endif
+ifdef DISABLE_SCALERS
+DEFINES += -DDISABLE_SCALERS
+endif
+
ifdef DISABLE_HQ_SCALERS
DEFINES += -DDISABLE_HQ_SCALERS
endif
diff --git a/scumm/thumbnail.cpp b/scumm/thumbnail.cpp
index c9691b9597..46fc9f2fc0 100644
--- a/scumm/thumbnail.cpp
+++ b/scumm/thumbnail.cpp
@@ -102,7 +102,7 @@ Graphics::Surface *ScummEngine::loadThumbnail(Common::InSaveFile *file) {
void ScummEngine::saveThumbnail(Common::OutSaveFile *file) {
Graphics::Surface thumb;
-#ifndef DISABLE_HQ_SCALERS // fcn has dep on HQ_SCALERS: thumbnail gets created as empty
+#if !defined(DISABLE_SCALERS) && !defined(DISABLE_HQ_SCALERS) // fcn has dep on HQ_SCALERS: thumbnail gets created as empty
if (!createThumbnailFromScreen(&thumb))
#endif
thumb.create(kThumbnailWidth, kThumbnailHeight2, sizeof(uint16));