mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 03:01:02 +00:00
Better test for disabled scalers...
svn-id: r18474
This commit is contained in:
parent
6d70218f35
commit
c3f975c7b8
@ -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
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user