mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
removed the single big VersionSettings list; instead, the simon & scumm modules now keep their target lists seperatly (and when we add BASS, it can have its own target list)
svn-id: r6652
This commit is contained in:
+3
-1
@@ -84,9 +84,11 @@ Engine *Engine::createFromDetector(GameDetector *detector, OSystem *syst)
|
||||
if (detector->_gameId >= GID_SIMON_FIRST && detector->_gameId <= GID_SIMON_LAST) {
|
||||
// Simon the Sorcerer
|
||||
engine = Engine_SIMON_create(detector, syst);
|
||||
} else {
|
||||
} else if (detector->_gameId >= GID_SCUMM_FIRST && detector->_gameId <= GID_SCUMM_LAST) {
|
||||
// Some kind of Scumm game
|
||||
engine = Engine_SCUMM_create(detector, syst);
|
||||
} else {
|
||||
// Unknown game
|
||||
}
|
||||
|
||||
return engine;
|
||||
|
||||
Reference in New Issue
Block a user