From 7f945627f57ecc56afea342c2dc0544d0d43728e Mon Sep 17 00:00:00 2001 From: FlightlessMango Date: Tue, 18 Apr 2023 00:31:55 +0200 Subject: [PATCH] params: fix issue where env options were not applied --- src/overlay_params.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/overlay_params.cpp b/src/overlay_params.cpp index 44035b6329..8e808900e3 100644 --- a/src/overlay_params.cpp +++ b/src/overlay_params.cpp @@ -561,11 +561,13 @@ parse_overlay_env(struct overlay_params *params, if (!strcmp(#name, key)) { \ params->enabled[OVERLAY_PARAM_ENABLED_##name] = \ strtol(value, NULL, 0); \ + add_to_options(params, key, value); \ continue; \ } #define OVERLAY_PARAM_CUSTOM(name) \ if (!strcmp(#name, key)) { \ params->name = parse_##name(value); \ + add_to_options(params, key, value); \ continue; \ } OVERLAY_PARAMS