summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/midiout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/imagedev/midiout.cpp')
-rw-r--r--src/devices/imagedev/midiout.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/imagedev/midiout.cpp b/src/devices/imagedev/midiout.cpp
index 29463a8ccec..89ac4872332 100644
--- a/src/devices/imagedev/midiout.cpp
+++ b/src/devices/imagedev/midiout.cpp
@@ -55,17 +55,17 @@ void midiout_device::device_reset()
call_load
-------------------------------------------------*/
-std::error_condition midiout_device::call_load()
+std::pair<std::error_condition, std::string> midiout_device::call_load()
{
m_midi = machine().osd().create_midi_device();
if (!m_midi->open_output(filename()))
{
m_midi.reset();
- return image_error::UNSPECIFIED;
+ return std::make_pair(image_error::UNSPECIFIED, std::string());
}
- return std::error_condition();
+ return std::make_pair(std::error_condition(), std::string());
}
/*-------------------------------------------------