diff options
| author | Jonathan Gray | 2003-10-04 01:02:23 +0000 |
|---|---|---|
| committer | Jonathan Gray | 2003-10-04 01:02:23 +0000 |
| commit | 3ef5a410a3337b323b40fc6828df7d11aa4016ae (patch) | |
| tree | f9f8c6595bdf106f8c9b012c0eb8eb0a26c0eb9c | |
| parent | 5a074e6137dc8368132e4e192c018806c1723222 (diff) | |
| download | scummvm-rg350-3ef5a410a3337b323b40fc6828df7d11aa4016ae.tar.gz scummvm-rg350-3ef5a410a3337b323b40fc6828df7d11aa4016ae.tar.bz2 scummvm-rg350-3ef5a410a3337b323b40fc6828df7d11aa4016ae.zip | |
add ability to use boot_param in a config file to specify boot param, this is useful for many things esp loom towns where difficulty select is via boot param
svn-id: r10582
| -rw-r--r-- | base/gameDetector.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp index 41a00ee967..80395ac0db 100644 --- a/base/gameDetector.cpp +++ b/base/gameDetector.cpp @@ -229,6 +229,8 @@ void GameDetector::updateconfig() { _cdrom = g_config->getInt("cdrom", _cdrom); + _bootParam = g_config->getInt("boot_param", _bootParam); + if ((val = g_config->get("music_driver"))) if (!parseMusicDriver(val)) { printf("Error in the config file: invalid music_driver.\n"); |
