diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index b6b3ade14..a99201d21 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -8800,7 +8800,15 @@ FurnaceGUI::FurnaceGUI(): romMultiFile(false), romExportSave(false), pendingExport(NULL), - romExportExists(false) { + romExportExists(false), + songLength(0), + songLoopedSectionLength(0), + songFadeoutSectionLength(0), + songHasSongEndCommand(false), + lengthOfOneFile(0), + totalLength(0), + curProgress(0.0f), + totalFiles(0) { // value keys valueKeys[SDLK_0]=0; valueKeys[SDLK_1]=1; @@ -8921,6 +8929,8 @@ FurnaceGUI::FurnaceGUI(): memset(romExportAvail,0,sizeof(bool)*DIV_ROM_MAX); + songOrdersLengths.clear(); + strncpy(noteOffLabel,"OFF",32); strncpy(noteRelLabel,"===",32); strncpy(macroRelLabel,"REL",32);