diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 96da3c29..fd99aa5c 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -1772,8 +1772,8 @@ SafeWriter* DivEngine::saveFur() { SafeWriter* DivEngine::saveDMF() { // fail if more than one system if (song.systemLen!=1) { - logE("cannot save multiple systems in this format!\n"); - lastError="multiple systems not possible on .dmf"; + logE("cannot save multiple platforms in this format!\n"); + lastError="multiple platforms not possible on .dmf"; return NULL; } // fail if this is an YMU759 song @@ -1782,6 +1782,12 @@ SafeWriter* DivEngine::saveDMF() { lastError="YMU759 song saving is not supported"; return NULL; } + // fail if the system is Furnace-exclusive + if (systemToFile(song.system[0])&0x80) { + logE("cannot save Furnace-exclusive platform song!\n"); + lastError="this platform is not possible on .dmf"; + return NULL; + } SafeWriter* w=new SafeWriter; w->init();