setting to choose between OPL2 and OPL3, channel naming

This commit is contained in:
LTVA1 2024-08-14 18:40:17 +03:00 committed by tildearrow
parent 41e094d79d
commit 5770f381ba
6 changed files with 72 additions and 32 deletions

View file

@ -597,7 +597,7 @@ class DivEngine {
bool loadDMF(unsigned char* file, size_t len);
bool loadFur(unsigned char* file, size_t len, int variantID=0);
bool loadMod(unsigned char* file, size_t len);
bool loadS3M(unsigned char* file, size_t len);
bool loadS3M(unsigned char* file, size_t len, bool opl2=false);
bool loadXM(unsigned char* file, size_t len);
bool loadIT(unsigned char* file, size_t len);
bool loadFTM(unsigned char* file, size_t len, bool dnft, bool dnftSig, bool eft);
@ -689,7 +689,7 @@ class DivEngine {
void createNew(const char* description, String sysName, bool inBase64=true);
void createNewFromDefaults();
// load a file.
bool load(unsigned char* f, size_t length, const char* nameHint=NULL);
bool load(unsigned char* f, size_t length, const char* nameHint=NULL, bool s3mOPL2=false);
// play a binary command stream.
bool playStream(unsigned char* f, size_t length);
// get the playing stream.