TONY: Rewamped the detection fully, so there are no false positives

This commit is contained in:
Eugene Sandulenko 2021-04-29 13:11:48 +02:00
parent 0d50189563
commit f3da93a476
No known key found for this signature in database
GPG key ID: 014D387312D34F08
2 changed files with 137 additions and 107 deletions

View file

@ -33,9 +33,17 @@ static const PlainGameDescriptor tonyGames[] = {
#include "tony/detection_tables.h"
static const char *const directoryGlobs[] = {
"roasted",
"voices",
0
};
class TonyMetaEngineDetection : public AdvancedMetaEngineDetection {
public:
TonyMetaEngineDetection() : AdvancedMetaEngineDetection(Tony::gameDescriptions, sizeof(Tony::TonyGameDescription), tonyGames) {
_maxScanDepth = 2;
_directoryGlobs = directoryGlobs;
}
const char *getEngineId() const override {