aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tsage/detection.cpp')
-rw-r--r--engines/tsage/detection.cpp21
1 files changed, 6 insertions, 15 deletions
diff --git a/engines/tsage/detection.cpp b/engines/tsage/detection.cpp
index 20c2002257..aaa9030a04 100644
--- a/engines/tsage/detection.cpp
+++ b/engines/tsage/detection.cpp
@@ -66,25 +66,16 @@ static const PlainGameDescriptor tSageGameTitles[] = {
#include "engines/tsage/detection_tables.h"
-static const ADParams detectionParams = {
- (const byte *)tSage::gameDescriptions,
- sizeof(tSage::tSageGameDescription),
- 0,
- tSageGameTitles,
- 0,
- "tsage",
- NULL,
- 0,
- Common::GUIO_NONE,
- 0,
- NULL
+enum {
+ MAX_SAVES = 100
};
-#define MAX_SAVES 100
-
class TSageMetaEngine : public AdvancedMetaEngine {
public:
- TSageMetaEngine() : AdvancedMetaEngine(detectionParams) {
+ TSageMetaEngine() : AdvancedMetaEngine(tSage::gameDescriptions, sizeof(tSage::tSageGameDescription), tSageGameTitles) {
+ _md5Bytes = 5000;
+ _singleid = "tsage";
+ _guioptions = Common::GUIO_NOSPEECH;
}
virtual const char *getName() const {