1
0
Fork 0

Add "hack" to display the initial values of the prop_multival entries.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3100
This commit is contained in:
Peter Veenstra 2008-02-10 18:55:23 +00:00
parent b437d79d8d
commit ff3634a5d9
2 changed files with 5 additions and 2 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: dosbox.cpp,v 1.129 2008-02-10 14:31:00 qbix79 Exp $ */
/* $Id: dosbox.cpp,v 1.130 2008-02-10 18:55:23 qbix79 Exp $ */
#include <stdlib.h>
#include <stdarg.h>
@ -357,6 +357,7 @@ void DOSBOX_Init(void) {
Pbool->Set_help("Do aspect correction, if your output method doesn't support scaling this can slow things down!.");
Pmulti = secprop->Add_multi("scaler",Property::Changeable::Always," ");
Pmulti->SetValue("normal2x");
Pmulti->Set_help("Scaler used to enlarge/enhance low resolution modes. If 'forced' is appended,the scaler will be used even if the result might not be desired.");
Pstring = Pmulti->GetSection()->Add_string("type",Property::Changeable::Always,"normal2x");
@ -396,6 +397,7 @@ void DOSBOX_Init(void) {
const char* cyclest[] = { "auto","fixed","max",0 };
Pstring = Pmulti->GetSection()->Add_string("type",Property::Changeable::Always,"auto");
Pmulti->SetValue("auto");
Pstring->Set_values(cyclest);
Pstring = Pmulti->GetSection()->Add_string("parameters",Property::Changeable::Always,"");

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: sdlmain.cpp,v 1.139 2008-02-10 11:14:03 qbix79 Exp $ */
/* $Id: sdlmain.cpp,v 1.140 2008-02-10 18:55:23 qbix79 Exp $ */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
@ -1454,6 +1454,7 @@ int main(int argc, char* argv[]) {
Pbool->Set_help("Wait before closing the console if dosbox has an error.");
Pmulti = sdl_sec->Add_multi("priority", Property::Changeable::Always, ",");
Pmulti->SetValue("higher,normal");
Pmulti->Set_help("priority -- Priority levels for dosbox. Second entry behind the comma is for when dosbox is not focused/minimized. (pause is only valid for the second entry)");
const char* actt[] = { "lowest", "lower", "normal", "higher", "highest", "pause", 0};