diff options
author | Max Horn | 2005-04-22 21:30:07 +0000 |
---|---|---|
committer | Max Horn | 2005-04-22 21:30:07 +0000 |
commit | 86752763c8c09a8f71285f55b8cf8a6e10d8cc8d (patch) | |
tree | 8773c8c4f0ca75fcba8c922ea2a5b1a83d219b9e /backends | |
parent | 1f3ce23da8048981749c42df04c5a04dc11f24ca (diff) | |
download | scummvm-rg350-86752763c8c09a8f71285f55b8cf8a6e10d8cc8d.tar.gz scummvm-rg350-86752763c8c09a8f71285f55b8cf8a6e10d8cc8d.tar.bz2 scummvm-rg350-86752763c8c09a8f71285f55b8cf8a6e10d8cc8d.zip |
add a comment regarding an odd hack
svn-id: r17758
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; } |