From a95d8e6fa36d56c58cf0c88b9c5a503becfd3633 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 3 Feb 2022 15:30:30 -0500 Subject: [PATCH] GUI: fix MML string on 256-wide waves --- src/gui/gui.cpp | 2 +- src/gui/gui.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index dae1e2e71..d1bb603b2 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -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=""; char buf[32]; for (int i=0; i