Fixed issue with logical switches

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:04 +01:00
parent 0fee85d3c0
commit 99c7dbf575
3 changed files with 70 additions and 5 deletions
@@ -95,7 +95,7 @@ bool w_mixSrcRaw(const YamlNode* node, uint32_t val, yaml_writer_func wf, void*
&& val <= MIXSRC_LAST_LOGICAL_SWITCH) {
val -= MIXSRC_FIRST_LOGICAL_SWITCH;
if (!output_source_1_param("ls(", 3, val, wf, opaque)) return false;
if (!output_source_1_param("ls(", 3, val + 1, wf, opaque)) return false;
str = closing_parenthesis;
}
else if (val >= MIXSRC_FIRST_TRAINER