diff options
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/towns_pc98_plugins.cpp')
-rw-r--r-- | audio/softsynth/fmtowns_pc98/towns_pc98_plugins.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_pc98_plugins.cpp b/audio/softsynth/fmtowns_pc98/towns_pc98_plugins.cpp index 194bfc41f9..41034846eb 100644 --- a/audio/softsynth/fmtowns_pc98/towns_pc98_plugins.cpp +++ b/audio/softsynth/fmtowns_pc98/towns_pc98_plugins.cpp @@ -20,7 +20,6 @@ * */ -#include "audio/softsynth/fmtowns_pc98/towns_midi.h" #include "audio/musicplugin.h" #include "common/translation.h" #include "common/error.h" @@ -48,8 +47,8 @@ MusicDevices TownsEmuMusicPlugin::getDevices() const { } Common::Error TownsEmuMusicPlugin::createInstance(MidiDriver **mididriver, MidiDriver::DeviceHandle) const { - *mididriver = new MidiDriver_TOWNS(g_system->getMixer()); - return Common::kNoError; + *mididriver = 0; + return Common::kUnknownError; } class PC98EmuMusicPlugin : public MusicPluginObject { @@ -73,8 +72,8 @@ MusicDevices PC98EmuMusicPlugin::getDevices() const { } Common::Error PC98EmuMusicPlugin::createInstance(MidiDriver **mididriver, MidiDriver::DeviceHandle) const { - //*mididriver = /**/ - return Common::kNoError; + *mididriver = 0; + return Common::kUnknownError; } //#if PLUGIN_ENABLED_DYNAMIC(TOWNS) |