Replace the default value when applying low end defaults so reset button works properly. (#359)

* Replace the default value when applying low end defaults so reset button works properly.

* Update video.cpp
This commit is contained in:
Darío 2025-02-11 09:13:43 -03:00 committed by GitHub
parent 854d7412fa
commit 0194c372e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1624,6 +1624,8 @@ static void ApplyLowEndDefault(ConfigDef<T> &configDef, T newDefault, bool &chan
configDef = newDefault;
changed = true;
}
configDef.DefaultValue = newDefault;
}
static void ApplyLowEndDefaults()