VGM export: fix VRC7 export

why is this UNDOCUMENTED AGAIN...
This commit is contained in:
tildearrow 2025-11-03 18:33:28 -05:00
parent 872eeff9f1
commit 83ba6f8d0a

View file

@ -1695,6 +1695,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool p
case DIV_SYSTEM_VRC7:
if (!hasOPLL) {
hasOPLL=disCont[i].dispatch->chipClock;
if (song.system[i]==DIV_SYSTEM_VRC7) hasOPLL|=0x8000000;
CHIP_VOL(1,3.2);
willExport[i]=true;
} else if (!(hasOPLL&0x40000000)) {