Removed a hard coded option.
authorMikko Keinänen <mikko.keinanen@gmail.com>
Fri, 8 Oct 2010 21:09:03 +0000 (00:09 +0300)
committerMikko Keinänen <mikko.keinanen@gmail.com>
Fri, 8 Oct 2010 21:09:03 +0000 (00:09 +0300)
src/emulauncher.cpp

index 8d1c48f..1ac4964 100644 (file)
@@ -185,7 +185,7 @@ void EmuLauncher::launch(const Executable * ex, const MediaImageContainer * mic)
     cmdWithParams.append(ex->getExecutable());
     // TODO: tmp will be set dynamically
     // TODO: command parameters and assigning multiple media images
-    cmdWithParams.append(" -cartcrt \"/tmp/").append(mic->getMediaImages().first()->getName()).append("\"");
+    cmdWithParams.append(" \"/tmp/").append(mic->getMediaImages().first()->getName()).append("\"");
     qDebug() << "Command with params " << cmdWithParams;
     if (!proc) proc = new QProcess(this); // This has to be done in the heap
     proc->start(cmdWithParams, QIODevice::ReadOnly);