mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-01 04:21:44 +00:00
VGM export: fix PC Engine samples
This commit is contained in:
parent
2dac7f3b87
commit
b6c536c907
2 changed files with 2 additions and 2 deletions
|
@ -2441,7 +2441,7 @@ SafeWriter* DivEngine::saveVGM() {
|
||||||
|
|
||||||
w->writeC(0x92);
|
w->writeC(0x92);
|
||||||
w->writeC(streamID);
|
w->writeC(streamID);
|
||||||
w->writeI(32000); // default
|
w->writeI(16000); // default
|
||||||
streamID++;
|
streamID++;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -187,7 +187,7 @@ int DivPlatformPCE::dispatch(DivCommand c) {
|
||||||
chan[c.chan].note=c.value;
|
chan[c.chan].note=c.value;
|
||||||
}
|
}
|
||||||
chan[c.chan].active=true;
|
chan[c.chan].active=true;
|
||||||
chan[c.chan].keyOn=true;
|
//chan[c.chan].keyOn=true;
|
||||||
chan[c.chan].furnaceDac=true;
|
chan[c.chan].furnaceDac=true;
|
||||||
} else {
|
} else {
|
||||||
chan[c.chan].dacSample=12*sampleBank+c.value%12;
|
chan[c.chan].dacSample=12*sampleBank+c.value%12;
|
||||||
|
|
Loading…
Reference in a new issue