QTfrontend/hwform.cpp
changeset 8357 d7bef04c99d4
parent 8353 c23bd7ee9a5e
parent 8354 c25bee85d6f8
child 8363 0b4ac686fc44
child 8364 fbc9bcc6c39d
child 8377 869f80966a77
--- a/QTfrontend/hwform.cpp	Wed Jan 02 23:13:14 2013 +0100
+++ b/QTfrontend/hwform.cpp	Fri Jan 04 02:58:19 2013 +0100
@@ -1860,11 +1860,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")