From 3e8f248f778591847e67af3d6a31de360ee04044 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 28 Aug 2022 01:03:23 -0500 Subject: [PATCH] fix saving a pre-24 .dmf song --- src/gui/gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 5cb4d520b..86c063e9b 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -1593,6 +1593,7 @@ void FurnaceGUI::openFileDialog(FurnaceGUIFileDialogs type) { int FurnaceGUI::save(String path, int dmfVersion) { SafeWriter* w; if (dmfVersion) { + if (dmfVersion<24) dmfVersion=24; w=e->saveDMF(dmfVersion); } else { w=e->saveFur();