Windows fixes

This commit is contained in:
Jack Andersen
2016-12-10 15:52:42 -10:00
parent eb948dfd63
commit 9cf96ad6f9
7 changed files with 18 additions and 14 deletions

View File

@@ -1324,7 +1324,7 @@ std::vector<uint8_t> SongConverter::MIDIToSong(const std::vector<uint8_t>& data,
reg.m_progNum = 0xff;
reg.m_unk1 = 0xff;
reg.m_unk2 = 0;
reg.m_regionIndex = 0xffff;
reg.m_regionIndex = -1;
reg.m_unk3 = 0;
}
else
@@ -1333,7 +1333,7 @@ std::vector<uint8_t> SongConverter::MIDIToSong(const std::vector<uint8_t>& data,
reg.m_progNum = 0xff;
reg.m_unk1 = 0xff;
reg.m_unk2 = 0;
reg.m_regionIndex = 0xffff;
reg.m_regionIndex = -1;
reg.m_unk3 = 0;
}
}