some rearranging, undo table column bump and
default to true for older verions
This commit is contained in:
parent
225cdead96
commit
16425817f6
3 changed files with 4 additions and 2 deletions
|
|
@ -2184,6 +2184,7 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
|
|||
for (int i=0; i<tchans; i++) {
|
||||
if (ds.version<189) {
|
||||
subSong->chanShow[i]=reader.readC();
|
||||
subSong->chanShowChanOsc[i]=true;
|
||||
} else { // stores 2 bools in a single char for better compat?
|
||||
unsigned char tempchar=reader.readC();
|
||||
subSong->chanShow[i]=tempchar&0xf;
|
||||
|
|
@ -2588,6 +2589,7 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
|
|||
for (int i=0; i<tchans; i++) {
|
||||
if (ds.version<189) {
|
||||
subSong->chanShow[i]=reader.readC();
|
||||
subSong->chanShowChanOsc[i]=true;
|
||||
} else {
|
||||
unsigned char tempchar=reader.readC();
|
||||
subSong->chanShow[i]=tempchar&0xf;
|
||||
|
|
|
|||
|
|
@ -184,8 +184,8 @@ struct DivSubSong {
|
|||
patLen(64),
|
||||
ordersLen(1) {
|
||||
for (int i=0; i<DIV_MAX_CHANS; i++) {
|
||||
chanShowChanOsc[i]=true;
|
||||
chanShow[i]=true;
|
||||
chanShowChanOsc[i]=true;
|
||||
chanCollapse[i]=0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue