Ticket #9166: command_line_options_discard.diff
File command_line_options_discard.diff, 656 bytes (added by , 14 years ago) |
---|
-
base/main.cpp
69 69 // Discard any command line options. Those that affect the graphics 70 70 // mode and the others (like bootparam etc.) should not 71 71 // blindly be passed to the first game launched from the launcher. 72 ConfMan.getDomain(Common::ConfigManager::kTransientDomain)->clear(); 72 Common::ConfigManager::Domain *dom; 73 dom = ConfMan.getDomain(Common::ConfigManager::kTransientDomain); 74 dom->erase("fullscreen"); 75 dom->erase("bootparam"); 73 76 74 77 #if defined(_WIN32_WCE) 75 78 CELauncherDialog dlg;