TWINE: mark floppy disk version as unsupported when gif support is not compiled in

This commit is contained in:
Martin Gerhardy 2021-04-10 18:49:53 +02:00
parent a8280b299e
commit 96f79a27f9
2 changed files with 10 additions and 0 deletions

View File

@ -1,2 +1,3 @@
engines/twine/detection.cpp
engines/twine/metaengine.cpp
engines/twine/parser/text.cpp

View File

@ -22,6 +22,7 @@
#include "common/config-manager.h"
#include "common/language.h"
#include "common/translation.h"
#include "engines/advancedDetector.h"
#include "base/plugins.h"
#include "twine/detection.h"
@ -207,11 +208,19 @@ static const ADGameDescription twineGameDescriptions[] = {
// 11 August 1995 at 23:28
{
"lba",
#ifdef USE_GIF
"Floppy Disk Version",
AD_ENTRY1s("FLA_GIF.HQR", "3f7383f65afa212e3eec430627828b64", 1784466),
Common::EN_ANY,
Common::kPlatformDOS,
ADGF_TESTING | TwinE::TF_USE_GIF,
#else
_s("This version requires Giflib which was not compiled into ScummVM"),
AD_ENTRY1s("FLA_GIF.HQR", "3f7383f65afa212e3eec430627828b64", 1784466),
Common::EN_ANY,
Common::kPlatformDOS,
ADGF_UNSUPPORTED,
#endif
GUIO1(GUIO_NONE)
},