diff options
-rw-r--r-- | Makefile.common | 4 | ||||
-rw-r--r-- | scumm/thumbnail.cpp | 2 |
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)); |