mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
GUI: fix MML string on 256-wide waves
This commit is contained in:
parent
ead65d8c21
commit
a95d8e6fa3
2 changed files with 2 additions and 2 deletions
|
@ -222,7 +222,7 @@ void FurnaceGUI::encodeMMLStr(String& target, unsigned char* macro, unsigned cha
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FurnaceGUI::encodeMMLStr(String& target, int* macro, unsigned char macroLen, signed char macroLoop) {
|
void FurnaceGUI::encodeMMLStr(String& target, int* macro, int macroLen, int macroLoop) {
|
||||||
target="";
|
target="";
|
||||||
char buf[32];
|
char buf[32];
|
||||||
for (int i=0; i<macroLen; i++) {
|
for (int i=0; i<macroLen; i++) {
|
||||||
|
|
|
@ -391,7 +391,7 @@ class FurnaceGUI {
|
||||||
|
|
||||||
void applyUISettings();
|
void applyUISettings();
|
||||||
|
|
||||||
void encodeMMLStr(String& target, int* macro, unsigned char macroLen, signed char macroLoop);
|
void encodeMMLStr(String& target, int* macro, int macroLen, int macroLoop);
|
||||||
void encodeMMLStr(String& target, unsigned char* macro, unsigned char macroLen, signed char macroLoop);
|
void encodeMMLStr(String& target, unsigned char* macro, unsigned char macroLen, signed char macroLoop);
|
||||||
void decodeMMLStr(String& source, unsigned char* macro, unsigned char& macroLen, signed char& macroLoop, int macroMin, int macroMax);
|
void decodeMMLStr(String& source, unsigned char* macro, unsigned char& macroLen, signed char& macroLoop, int macroMin, int macroMax);
|
||||||
void decodeMMLStr(String& source, int* macro, unsigned char& macroLen, signed char& macroLoop, int macroMin, int macroMax);
|
void decodeMMLStr(String& source, int* macro, unsigned char& macroLen, signed char& macroLoop, int macroMin, int macroMax);
|
||||||
|
|
Loading…
Reference in a new issue