This commit is contained in:
tildearrow 2022-02-05 01:57:24 -05:00
parent 088e49a3f4
commit 560be4f341
2 changed files with 7 additions and 5 deletions

View File

@ -2171,22 +2171,22 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
if (ds.version>=39) {
for (int i=0; i<tchans; i++) {
song.chanShow[i]=reader.readC();
ds.chanShow[i]=reader.readC();
}
for (int i=0; i<tchans; i++) {
song.chanCollapse[i]=reader.readC();
ds.chanCollapse[i]=reader.readC();
}
for (int i=0; i<tchans; i++) {
song.chanName[i]=reader.readString();
ds.chanName[i]=reader.readString();
}
for (int i=0; i<tchans; i++) {
song.chanShortName[i]=reader.readString();
ds.chanShortName[i]=reader.readString();
}
song.notes=reader.readString();
ds.notes=reader.readString();
}
// read instruments

View File

@ -3821,6 +3821,8 @@ void FurnaceGUI::drawPiano() {
ImGui::End();
}
// NOTE: please don't ask me to enable text wrap.
// Dear ImGui doesn't have that feature. D:
void FurnaceGUI::drawNotes() {
if (!notesOpen) return;
if (ImGui::Begin("Song Comments",&notesOpen)) {