VGM export: fix stream command glitch in direct
This commit is contained in:
parent
4723ed3972
commit
4dda45116e
|
@ -515,7 +515,8 @@ void DivEngine::performVGMWrite(SafeWriter* w, DivSystem sys, DivRegWrite& write
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (write.addr>=0xffff0000 && !directStream) { // Furnace special command
|
||||
if (write.addr>=0xffff0000) { // Furnace special command
|
||||
if (!directStream) {
|
||||
unsigned char streamID=streamOff+((write.addr&0xff00)>>8);
|
||||
logD("writing stream command %x:%x with stream ID %d",write.addr,write.val,streamID);
|
||||
switch (write.addr&0xff) {
|
||||
|
@ -547,6 +548,7 @@ void DivEngine::performVGMWrite(SafeWriter* w, DivSystem sys, DivRegWrite& write
|
|||
sampleDir[streamID]=write.val;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
switch (sys) {
|
||||
|
|
Loading…
Reference in New Issue