enforce .dmf extension when saving as legacy

This commit is contained in:
tildearrow 2022-02-25 02:37:53 -05:00
parent b80c24a948
commit 064b743507

View file

@ -4874,6 +4874,9 @@ bool FurnaceGUI::loop() {
checkExtension(".dmf"); checkExtension(".dmf");
} }
} }
if (curFileDialog==GUI_FILE_SAVE_DMF_LEGACY) {
checkExtension(".dmf");
}
if (curFileDialog==GUI_FILE_SAMPLE_SAVE || if (curFileDialog==GUI_FILE_SAMPLE_SAVE ||
curFileDialog==GUI_FILE_EXPORT_AUDIO_ONE || curFileDialog==GUI_FILE_EXPORT_AUDIO_ONE ||
curFileDialog==GUI_FILE_EXPORT_AUDIO_PER_SYS || curFileDialog==GUI_FILE_EXPORT_AUDIO_PER_SYS ||