1
0
mirror of https://github.com/marqs85/ossc.git synced 2026-04-20 13:16:50 +00:00

misc bug fixes

* fixed shmask strength and phase adjust hotkeys
* added invalidation for existing shmask and lumacode arrays upon profile load
This commit is contained in:
marqs
2025-12-21 14:44:12 +02:00
parent 8c0a0c181d
commit b151be6833
4 changed files with 15 additions and 6 deletions
+5
View File
@@ -1002,6 +1002,11 @@ int latency_test() {
return 0;
}
void invalidate_loaded_arrays() {
shmask_loaded_array = -1;
loaded_lc_palette = -1;
}
void update_settings(int init_setup) {
if (init_setup || (ts.osd_enable != cs.osd_enable) || (ts.osd_status_timeout != cs.osd_status_timeout) || (ts.osd_highlight_color != cs.osd_highlight_color)) {
osd->osd_config.enable = !!ts.osd_enable;