Commander X16 file export: ZSM format

This commit is contained in:
ZeroByteOrg 2022-05-26 00:24:21 -05:00
parent 68cc84253c
commit b034e3c5da
12 changed files with 733 additions and 16 deletions

View file

@ -458,6 +458,8 @@ class DivEngine {
SafeWriter* buildROM(int sys);
// dump to VGM.
SafeWriter* saveVGM(bool* sysToExport=NULL, bool loop=true, int version=0x171);
// dump to ZSM.
SafeWriter* saveZSM(unsigned int zsmrate=60, bool loop=true);
// export to an audio file
bool saveAudio(const char* path, int loops, DivAudioExportModes mode);
// wait for audio export to finish