parent
088b3eece3
commit
7a941e5b68
|
@ -344,8 +344,8 @@ void FurnaceGUI::decodeMMLStr(String& source, int* macro, unsigned char& macroLe
|
||||||
case ' ':
|
case ' ':
|
||||||
if (hasVal) {
|
if (hasVal) {
|
||||||
hasVal=false;
|
hasVal=false;
|
||||||
negaBuf=false;
|
|
||||||
macro[macroLen]=negaBuf?-buf:buf;
|
macro[macroLen]=negaBuf?-buf:buf;
|
||||||
|
negaBuf=false;
|
||||||
if (macro[macroLen]<macroMin) macro[macroLen]=macroMin;
|
if (macro[macroLen]<macroMin) macro[macroLen]=macroMin;
|
||||||
if (macro[macroLen]>macroMax) macro[macroLen]=macroMax;
|
if (macro[macroLen]>macroMax) macro[macroLen]=macroMax;
|
||||||
macroLen++;
|
macroLen++;
|
||||||
|
@ -362,8 +362,8 @@ void FurnaceGUI::decodeMMLStr(String& source, int* macro, unsigned char& macroLe
|
||||||
}
|
}
|
||||||
if (hasVal && macroLen<128) {
|
if (hasVal && macroLen<128) {
|
||||||
hasVal=false;
|
hasVal=false;
|
||||||
negaBuf=false;
|
|
||||||
macro[macroLen]=negaBuf?-buf:buf;
|
macro[macroLen]=negaBuf?-buf:buf;
|
||||||
|
negaBuf=false;
|
||||||
if (macro[macroLen]<macroMin) macro[macroLen]=macroMin;
|
if (macro[macroLen]<macroMin) macro[macroLen]=macroMin;
|
||||||
if (macro[macroLen]>macroMax) macro[macroLen]=macroMax;
|
if (macro[macroLen]>macroMax) macro[macroLen]=macroMax;
|
||||||
macroLen++;
|
macroLen++;
|
||||||
|
|
Loading…
Reference in a new issue