mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-29 02:51:24 +00:00
add VGM export warnings
This commit is contained in:
parent
237ad1f517
commit
fe0dc38f37
2 changed files with 8 additions and 0 deletions
|
@ -2515,6 +2515,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
|||
int loopEnd=0;
|
||||
walkSong(loopOrder,loopRow,loopEnd);
|
||||
logI("loop point: %d %d\n",loopOrder,loopRow);
|
||||
warnings="";
|
||||
|
||||
curOrder=0;
|
||||
freelance=false;
|
||||
|
@ -2627,6 +2628,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
|||
willExport[i]=true;
|
||||
hasOPN2|=0x40000000;
|
||||
howManyChips++;
|
||||
addWarning("adding a compound system two times is experimental!");
|
||||
}
|
||||
if (!hasSN) {
|
||||
hasSN=3579545;
|
||||
|
@ -2636,6 +2638,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
|||
willExport[i]=true;
|
||||
hasSN|=0x40000000;
|
||||
howManyChips++;
|
||||
addWarning("adding a compound system two times is experimental!");
|
||||
}
|
||||
break;
|
||||
case DIV_SYSTEM_SMS:
|
||||
|
@ -2693,6 +2696,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
|||
willExport[i]=true;
|
||||
hasOPM|=0x40000000;
|
||||
howManyChips++;
|
||||
addWarning("adding a compound system two times is experimental!");
|
||||
}
|
||||
if (!hasSegaPCM) {
|
||||
hasSegaPCM=4000000;
|
||||
|
@ -2703,6 +2707,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
|||
willExport[i]=true;
|
||||
hasSegaPCM|=0x40000000;
|
||||
howManyChips++;
|
||||
addWarning("adding a compound system two times is experimental!");
|
||||
}
|
||||
break;
|
||||
case DIV_SYSTEM_YM2610:
|
||||
|
|
|
@ -5043,6 +5043,9 @@ bool FurnaceGUI::loop() {
|
|||
}
|
||||
w->finish();
|
||||
delete w;
|
||||
if (!e->getWarnings().empty()) {
|
||||
showWarning(e->getWarnings(),GUI_WARN_GENERIC);
|
||||
}
|
||||
} else {
|
||||
showError("could not write VGM. dang it.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue