From f0e26a9b636c73d4149e63e663b15d0e2f17df27 Mon Sep 17 00:00:00 2001 From: Martin Hoffmann Date: Wed, 20 Mar 2013 17:16:57 +0100 Subject: [PATCH] Optionparser: Fix for non-Bochs builds. --- src/core/sal/SimulatorController.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/sal/SimulatorController.cc b/src/core/sal/SimulatorController.cc index 93ef281f..af191c25 100644 --- a/src/core/sal/SimulatorController.cc +++ b/src/core/sal/SimulatorController.cc @@ -41,10 +41,9 @@ void SimulatorController::startup(int argc, char **argv) // Some greetings to the user: std::cout << "[SimulatorController] Initializing..." << std::endl; // TODO: Log-Level? - + if (argv) { - // FIXME: bx_startup_flags only exits in Bochs build!! - //CommandLine::Inst().collect_args(bx_startup_flags.argc, bx_startup_flags.argv); + CommandLine::Inst().collect_args(argc, argv); } // Activate previously added experiments to allow initialization: