VGM export: add option to insert pattern change hi

nts
This commit is contained in:
tildearrow 2022-08-03 18:44:45 -05:00
parent eafbf24290
commit 7ec4f7cb9e
4 changed files with 49 additions and 4 deletions

View file

@ -472,7 +472,9 @@ class DivEngine {
// specify system to build ROM for.
SafeWriter* buildROM(int sys);
// dump to VGM.
SafeWriter* saveVGM(bool* sysToExport=NULL, bool loop=true, int version=0x171);
SafeWriter* saveVGM(bool* sysToExport=NULL, bool loop=true, int version=0x171, bool patternHints=false);
// dump command stream.
SafeWriter* saveCommand(bool binary=false);
// export to an audio file
bool saveAudio(const char* path, int loops, DivAudioExportModes mode, double fadeOutTime=0.0);
// wait for audio export to finish