more SMS work
it is able to play some modules... the next step is to bind this to the Genesis platform
This commit is contained in:
parent
d9f076ef64
commit
3172fd37ed
7 changed files with 147 additions and 2 deletions
|
|
@ -529,6 +529,10 @@ bool DivEngine::load(void* f, size_t slen) {
|
|||
pat->data[k][0]=reader.readS();
|
||||
// octave
|
||||
pat->data[k][1]=reader.readS();
|
||||
if (ds.system==DIV_SYSTEM_SMS && ds.version<0x0e && pat->data[k][1]>0) {
|
||||
// apparently it was up one octave before
|
||||
pat->data[k][1]--;
|
||||
}
|
||||
// volume
|
||||
pat->data[k][3]=reader.readS();
|
||||
for (int l=0; l<chan->effectRows; l++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue