mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 08:53:51 +00:00
TUCKER: Switch to alternate AdvancedMetaEngine, avoid ADParams
This commit is contained in:
parent
0031e08349
commit
59d56b6687
@ -102,31 +102,6 @@ static const ADGameDescription tuckerGameDescriptions[] = {
|
||||
AD_TABLE_END_MARKER
|
||||
};
|
||||
|
||||
static const ADParams detectionParams = {
|
||||
// Pointer to ADGameDescription or its superset structure
|
||||
(const byte *)tuckerGameDescriptions,
|
||||
// Size of that superset structure
|
||||
sizeof(ADGameDescription),
|
||||
// Number of bytes to compute MD5 sum for
|
||||
512,
|
||||
// List of all engine gameid
|
||||
tuckerGames,
|
||||
// Structure for autoupgrading obsolete gameids
|
||||
0,
|
||||
// Name of single gameid (optional)
|
||||
"tucker",
|
||||
// List of files for file-based fallback detection (optional)
|
||||
0,
|
||||
// Flags
|
||||
0,
|
||||
// Additional GUI options (for every game)
|
||||
Common::GUIO_NONE,
|
||||
// Maximum directory depth
|
||||
1,
|
||||
// List of directory globs
|
||||
0
|
||||
};
|
||||
|
||||
static const ADGameDescription tuckerDemoGameDescription = {
|
||||
"tucker",
|
||||
"Non-Interactive Demo",
|
||||
@ -139,7 +114,9 @@ static const ADGameDescription tuckerDemoGameDescription = {
|
||||
|
||||
class TuckerMetaEngine : public AdvancedMetaEngine {
|
||||
public:
|
||||
TuckerMetaEngine() : AdvancedMetaEngine(detectionParams) {
|
||||
TuckerMetaEngine() : AdvancedMetaEngine(tuckerGameDescriptions, sizeof(ADGameDescription), tuckerGames) {
|
||||
params.md5Bytes = 512;
|
||||
params.singleid = "tucker";
|
||||
}
|
||||
|
||||
virtual const char *getName() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user