I forgot here
This commit is contained in:
parent
04af689ae9
commit
5e72274c5c
|
@ -1717,7 +1717,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version) {
|
||||||
memcpy(sampleMem,writeZ280[i]->getSampleMem(),sampleMemLen);
|
memcpy(sampleMem,writeZ280[i]->getSampleMem(),sampleMemLen);
|
||||||
for (int i=0; i<song.sampleLen; i++) {
|
for (int i=0; i<song.sampleLen; i++) {
|
||||||
DivSample* s=song.sample[i];
|
DivSample* s=song.sample[i];
|
||||||
if (s->depth==16) {
|
if (s->depth==DIV_SAMPLE_DEPTH_16BIT) {
|
||||||
unsigned int pos=s->offYMZ280B;
|
unsigned int pos=s->offYMZ280B;
|
||||||
for (unsigned int j=0; j<s->samples; j++) {
|
for (unsigned int j=0; j<s->samples; j++) {
|
||||||
unsigned char lo=sampleMem[pos+j*2];
|
unsigned char lo=sampleMem[pos+j*2];
|
||||||
|
|
Loading…
Reference in New Issue