From ed8c16e69a874dee1a516c6bc57577872121dc2e Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sun, 3 Sep 2017 18:33:14 +0000 Subject: [PATCH] Add patch 272 as this is how all commandline options are handled. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4044 --- src/gui/render.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/render.cpp b/src/gui/render.cpp index 89a8334c..f852767c 100644 --- a/src/gui/render.cpp +++ b/src/gui/render.cpp @@ -581,9 +581,9 @@ void RENDER_Init(Section * sec) { std::string cline; std::string scaler; //Check for commandline paramters and parse them through the configclass so they get checked against allowed values - if (control->cmdline->FindString("-scaler",cline,false)) { + if (control->cmdline->FindString("-scaler",cline,true)) { section->HandleInputline(std::string("scaler=") + cline); - } else if (control->cmdline->FindString("-forcescaler",cline,false)) { + } else if (control->cmdline->FindString("-forcescaler",cline,true)) { section->HandleInputline(std::string("scaler=") + cline + " forced"); }