fix saving a pre-24 .dmf song

This commit is contained in:
tildearrow 2022-08-28 01:03:23 -05:00
parent 58853ce5d5
commit 3e8f248f77

View file

@ -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();