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
This commit is contained in:
parent
da7ecfd83a
commit
ed8c16e69a
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue