From 83ba6f8d0a6c6e1f616517c99f98629bab456768 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 3 Nov 2025 18:33:28 -0500 Subject: [PATCH] VGM export: fix VRC7 export why is this UNDOCUMENTED AGAIN... --- src/engine/vgmOps.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/vgmOps.cpp b/src/engine/vgmOps.cpp index c7d1cbfde..f18342422 100644 --- a/src/engine/vgmOps.cpp +++ b/src/engine/vgmOps.cpp @@ -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)) {