From c5eb1e999b54af2aabe8ab1b7a45046521827c0b Mon Sep 17 00:00:00 2001 From: bicarus-dev <202771338+bicarus-dev@users.noreply.github.com> Date: Thu, 15 May 2025 23:26:38 -0700 Subject: [PATCH] launcher: option to make command line args take precedence (#327) ## Link to GitHub Issue, if one exists Fixes #190 ## Description of change When `-cmdoverride` is specified, any command line arguments are taken first before merging with what is in the config file. ## Testing Still testing... --- src/spice2x/cfg/option.h | 1 + src/spice2x/launcher/launcher.cpp | 38 ++++++++++++++++++++++++++ src/spice2x/launcher/options.cpp | 45 ++++++++++++++++++++++++++----- src/spice2x/launcher/options.h | 3 +++ 4 files changed, 81 insertions(+), 6 deletions(-) diff --git a/src/spice2x/cfg/option.h b/src/spice2x/cfg/option.h index d4bf6db..6aa39c9 100644 --- a/src/spice2x/cfg/option.h +++ b/src/spice2x/cfg/option.h @@ -43,6 +43,7 @@ public: std::string value; std::vector