mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
PARALLACTION: Switch to alternate AdvancedMetaEngine, avoid ADParams
This commit is contained in:
parent
b1965f9a3f
commit
289ad6b541
@ -220,34 +220,11 @@ static const PARALLACTIONGameDescription gameDescriptions[] = {
|
||||
|
||||
}
|
||||
|
||||
static const ADParams detectionParams = {
|
||||
// Pointer to ADGameDescription or its superset structure
|
||||
(const byte *)Parallaction::gameDescriptions,
|
||||
// Size of that superset structure
|
||||
sizeof(Parallaction::PARALLACTIONGameDescription),
|
||||
// Number of bytes to compute MD5 sum for
|
||||
5000,
|
||||
// List of all engine gameid
|
||||
parallactionGames,
|
||||
// Structure for autoupgrading obsolete gameids
|
||||
0,
|
||||
// Name of single gameid (optional)
|
||||
0,
|
||||
// List of files for file-based fallback detection (optional)
|
||||
0,
|
||||
// Flags
|
||||
0,
|
||||
// Additional GUI options (for every game}
|
||||
Common::GUIO_NOLAUNCHLOAD,
|
||||
// Maximum directory depth
|
||||
1,
|
||||
// List of directory globs
|
||||
0
|
||||
};
|
||||
|
||||
class ParallactionMetaEngine : public AdvancedMetaEngine {
|
||||
public:
|
||||
ParallactionMetaEngine() : AdvancedMetaEngine(detectionParams) {}
|
||||
ParallactionMetaEngine() : AdvancedMetaEngine(Parallaction::gameDescriptions, sizeof(Parallaction::PARALLACTIONGameDescription), parallactionGames) {
|
||||
params.guioptions = Common::GUIO_NOLAUNCHLOAD;
|
||||
}
|
||||
|
||||
virtual const char *getName() const {
|
||||
return "Parallaction";
|
||||
|
Loading…
x
Reference in New Issue
Block a user