Remove deprecated scaler option in Dosbox

This commit is contained in:
Mathieu Comandon 2024-01-08 22:09:49 -08:00
parent 10c0aacfe2
commit 81b756e3d9

View file

@ -60,26 +60,6 @@ class dosbox(Runner):
},
]
scaler_modes = [
(_("none"), "none"),
("normal2x", "normal2x"),
("normal3x", "normal3x"),
("hq2x", "hq2x"),
("hq3x", "hq3x"),
("advmame2x", "advmame2x"),
("advmame3x", "advmame3x"),
("2xsai", "2xsai"),
("super2xsai", "super2xsai"),
("supereagle", "supereagle"),
("advinterp2x", "advinterp2x"),
("advinterp3x", "advinterp3x"),
("tv2x", "tv2x"),
("tv3x", "tv3x"),
("rgb2x", "rgb2x"),
("rgb3x", "rgb3x"),
("scan2x", "scan2x"),
("scan3x", "scan3x"),
]
runner_options = [
{
"option": "fullscreen",
@ -89,17 +69,6 @@ class dosbox(Runner):
"default": False,
"help": _("Tells DOSBox to launch the game in fullscreen."),
},
{
"option": "scaler",
"section": _("Graphics"),
"label": _("Graphic scaler"),
"type": "choice",
"choices": scaler_modes,
"default": "normal3x",
"help":
_("The algorithm used to scale up the game's base "
"resolution, resulting in different visual styles. "),
},
{
"option": "exit",
"label": _("Exit DOSBox with the game"),
@ -165,11 +134,6 @@ class dosbox(Runner):
command.append("-conf")
command.append(self.make_absolute(self.game_config["config_file"]))
scaler = self.runner_config.get("scaler")
if scaler and scaler != "none":
command.append("-scaler")
command.append(self.runner_config["scaler"])
if self.runner_config.get("fullscreen"):
command.append("-fullscreen")