1
0
Fork 0

Update description of sdl.windowresolution

This commit is contained in:
Patryk Obara 2020-03-17 22:55:03 +01:00 committed by Patryk Obara
parent 3001ef240f
commit fa4e8c28de

View file

@ -2340,7 +2340,8 @@ void Config_Add_SDL() {
Prop_int* Pint;
Prop_multival* Pmulti;
Section_prop* Psection;
const Property::Changeable::Value always = Property::Changeable::Always;
constexpr auto always = Property::Changeable::Always;
Pbool = sdl_sec->Add_bool("fullscreen",Property::Changeable::Always,false);
Pbool->Set_help("Start dosbox directly in fullscreen. (Press ALT-Enter to go back)");
@ -2353,9 +2354,10 @@ void Config_Add_SDL() {
Pstring->Set_help("What resolution to use for fullscreen: 'original', 'desktop' or\n"
"a fixed size (e.g. 1024x768).");
Pstring = sdl_sec->Add_string("windowresolution",Property::Changeable::Always,"original");
Pstring->Set_help("Scale the window to this size IF the output device supports hardware scaling.\n"
"(output=surface does not!)");
Pstring = sdl_sec->Add_string("windowresolution", always, "original");
Pstring->Set_help("Scale the window to this size. Value 'original' will resize\n"
"window to the resolution picked by the emulated program.\n"
"Not supported when 'output' is set to 'surface'.");
const char *outputs[] = {
"surface",