aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/detection.cpp')
-rw-r--r--engines/agi/detection.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index 1d58900056..e7285d8112 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -145,6 +145,13 @@ static const ExtraGuiOption agiExtraGuiOption = {
false
};
+static const ExtraGuiOption agiExtraGuiOptionAmiga = {
+ _s("Use an alternative palette"),
+ _s("Use an alternative palette, common for all Amiga games. This was the old behavior"),
+ "altamigapalette",
+ false
+};
+
#include "agi/detection_tables.h"
using namespace Agi;
@@ -230,6 +237,8 @@ bool AgiMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameD
const ExtraGuiOptions AgiMetaEngine::getExtraGuiOptions(const Common::String &target) const {
ExtraGuiOptions options;
options.push_back(agiExtraGuiOption);
+ if (target.contains("-amiga"))
+ options.push_back(agiExtraGuiOptionAmiga);
return options;
}