mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
VGM export: dual chip for real
This commit is contained in:
parent
c4163699b6
commit
cd9b2b675e
1 changed files with 13 additions and 0 deletions
|
@ -2525,6 +2525,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
willExport[i]=true;
|
willExport[i]=true;
|
||||||
} else if (!(hasOPN2&0x40000000)) {
|
} else if (!(hasOPN2&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasOPN2|=0x40000000;
|
hasOPN2|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2533,6 +2534,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
willExport[i]=true;
|
willExport[i]=true;
|
||||||
} else if (!(hasSN&0x40000000)) {
|
} else if (!(hasSN&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasSN|=0x40000000;
|
hasSN|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2543,6 +2545,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
willExport[i]=true;
|
willExport[i]=true;
|
||||||
} else if (!(hasSN&0x40000000)) {
|
} else if (!(hasSN&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasSN|=0x40000000;
|
hasSN|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2553,6 +2556,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
willExport[i]=true;
|
willExport[i]=true;
|
||||||
} else if (!(hasGB&0x40000000)) {
|
} else if (!(hasGB&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasGB|=0x40000000;
|
hasGB|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2564,6 +2568,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
writePCESamples=true;
|
writePCESamples=true;
|
||||||
} else if (!(hasPCE&0x40000000)) {
|
} else if (!(hasPCE&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasPCE|=0x40000000;
|
hasPCE|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2575,6 +2580,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
writeNESSamples=true;
|
writeNESSamples=true;
|
||||||
} else if (!(hasNES&0x40000000)) {
|
} else if (!(hasNES&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasNES|=0x40000000;
|
hasNES|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2585,6 +2591,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
willExport[i]=true;
|
willExport[i]=true;
|
||||||
} else if (!(hasOPM&0x40000000)) {
|
} else if (!(hasOPM&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasOPM|=0x40000000;
|
hasOPM|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2594,6 +2601,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
writeSegaPCM=true;
|
writeSegaPCM=true;
|
||||||
} else if (!(hasSegaPCM&0x40000000)) {
|
} else if (!(hasSegaPCM&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasSegaPCM|=0x40000000;
|
hasSegaPCM|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2606,6 +2614,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
writeADPCM=true;
|
writeADPCM=true;
|
||||||
} else if (!(hasOPNB&0x40000000)) {
|
} else if (!(hasOPNB&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasOPNB|=0x40000000;
|
hasOPNB|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2619,6 +2628,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
willExport[i]=true;
|
willExport[i]=true;
|
||||||
} else if (!(hasAY&0x40000000)) {
|
} else if (!(hasAY&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasAY|=0x40000000;
|
hasAY|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2629,6 +2639,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
willExport[i]=true;
|
willExport[i]=true;
|
||||||
} else if (!(hasSAA&0x40000000)) {
|
} else if (!(hasSAA&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasSAA|=0x40000000;
|
hasSAA|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2640,6 +2651,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
writeDACSamples=true;
|
writeDACSamples=true;
|
||||||
} else if (!(hasOPN2&0x40000000)) {
|
} else if (!(hasOPN2&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasOPN2|=0x40000000;
|
hasOPN2|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
@ -2650,6 +2662,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||||
willExport[i]=true;
|
willExport[i]=true;
|
||||||
} else if (!(hasOPM&0x40000000)) {
|
} else if (!(hasOPM&0x40000000)) {
|
||||||
isSecond[i]=true;
|
isSecond[i]=true;
|
||||||
|
willExport[i]=true;
|
||||||
hasOPM|=0x40000000;
|
hasOPM|=0x40000000;
|
||||||
howManyChips++;
|
howManyChips++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue