VGM export: prepare to fix NES DPCM

This commit is contained in:
tildearrow 2025-05-06 03:44:42 -05:00
parent 82bead2fe4
commit 1cabe743d6
5 changed files with 18 additions and 4 deletions

View file

@ -1215,7 +1215,7 @@ void DivEngine::performVGMWrite(SafeWriter* w, DivSystem sys, DivRegWrite& write
chipVol.push_back((_id)|(0x80000100)|(((unsigned int)_vol)<<16)); \
}
SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool patternHints, bool directStream, int trailingTicks) {
SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool patternHints, bool directStream, int trailingTicks, bool dpcm07) {
if (version<0x150) {
lastError="VGM version is too low";
return NULL;