From 3ef5a410a3337b323b40fc6828df7d11aa4016ae Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sat, 4 Oct 2003 01:02:23 +0000 Subject: 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 --- base/gameDetector.cpp | 2 ++ 1 file changed, 2 insertions(+) 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"); -- cgit v1.2.3