diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/dc/dcmain.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/backends/dc/dcmain.cpp b/backends/dc/dcmain.cpp index 2068e2f51e..d925be0747 100644 --- a/backends/dc/dcmain.cpp +++ b/backends/dc/dcmain.cpp @@ -223,8 +223,17 @@ int DCLauncherDialog::runModal() if(!selectGame(argv[2], argv[1], icon)) exit(0); + FIXME: This is an evil hack: _detector.parseCommandLine(argc, argv); + But doing it properly isn't that hard, actually: + + // Set the game path. + ConfMan.set("path", the_desired_path, kTransientDomain); + + // Set the target. + _detector.setTarget(target_name); + return 0; } |