--- a/QTfrontend/hwform.cpp Thu Jan 03 15:58:23 2013 +0200
+++ b/QTfrontend/hwform.cpp Thu Jan 03 15:59:30 2013 +0200
@@ -1883,11 +1883,13 @@
userPrefix = userPrefix.replace("/","\\");
#endif
- QRect resolution = config->vid_Resolution();
+ std::pair<QRect, QRect> resolutions = config->vid_ResolutionPair();
return QString("--prefix " + prefix
+ " --user-prefix " + userPrefix
- + " --width " + QString::number(resolution.width())
- + " --height " + QString::number(resolution.height())
+ + " --fullscreen-width " + QString::number(resolutions.first.width())
+ + " --fullscreen-height " + QString::number(resolutions.first.height())
+ + " --width " + QString::number(resolutions.second.width())
+ + " --height " + QString::number(resolutions.second.height())
+ " --volume " + QString::number(config->volume())
+ (config->isMusicEnabled() ? "" : " --nomusic")
+ (config->isSoundEnabled() ? "" : " --nosound")