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

@ -2417,7 +2417,7 @@ int FurnaceGUI::load(String path) {
return 1;
}
fclose(f);
if (!e->load(file,(size_t)len,path.c_str())) {
if (!e->load(file,(size_t)len,path.c_str(),settings.OPL2s3mImport)) {
lastError=e->getLastError();
logE("could not open file!");
return 1;
@ -4110,7 +4110,7 @@ bool FurnaceGUI::loop() {
if (!tutorial.introPlayed || settings.alwaysPlayIntro==3 || (settings.alwaysPlayIntro==2 && curFileName.empty())) {
unsigned char* introTemp=new unsigned char[intro_fur_len];
memcpy(introTemp,intro_fur,intro_fur_len);
e->load(introTemp,intro_fur_len);
e->load(introTemp,intro_fur_len,NULL,settings.OPL2s3mImport);
}
}