mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
FIX IT
This commit is contained in:
parent
088e49a3f4
commit
560be4f341
2 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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",¬esOpen)) {
|
||||
|
|
Loading…
Reference in a new issue