Added --list-saves support for PARALLACTION, and -x support for NipponSafes
svn-id: r33292
This commit is contained in:
parent
dac805c281
commit
cbe0af1c19
4 changed files with 46 additions and 1 deletions
|
@ -240,7 +240,21 @@ int Parallaction_ns::go() {
|
|||
|
||||
_globalTable = _disk->loadTable("global");
|
||||
|
||||
guiStart();
|
||||
// If requested, load a savegame instead of showing the intro
|
||||
if (ConfMan.hasKey("save_slot")) {
|
||||
_gameToLoad = ConfMan.getInt("save_slot");
|
||||
if (_gameToLoad < 0 || _gameToLoad > 99)
|
||||
_gameToLoad = -1;
|
||||
}
|
||||
if (_gameToLoad == -1) {
|
||||
guiStart();
|
||||
} else {
|
||||
_disk->selectArchive((getFeatures() & GF_DEMO) ? "disk0" : "disk1");
|
||||
_language = guiChooseLanguage();
|
||||
_disk->setLanguage(_language);
|
||||
doLoadGame(_gameToLoad);
|
||||
}
|
||||
|
||||
|
||||
if (quit())
|
||||
return _eventMan->shouldRTL();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue