summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/wafadrive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/imagedev/wafadrive.cpp')
-rw-r--r--src/devices/imagedev/wafadrive.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/imagedev/wafadrive.cpp b/src/devices/imagedev/wafadrive.cpp
index 658e845cb74..3bbdfa994ec 100644
--- a/src/devices/imagedev/wafadrive.cpp
+++ b/src/devices/imagedev/wafadrive.cpp
@@ -20,17 +20,16 @@
DEFINE_DEVICE_TYPE(WAFADRIVE_IMAGE, wafadrive_image_device, "wafadrive_image", "Sinclair Wafadrive Image")
//-------------------------------------------------
-// microdrive_image_device - constructor
+// wafadrive_image_device - constructor
//-------------------------------------------------
wafadrive_image_device::wafadrive_image_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, WAFADRIVE_IMAGE, tag, owner, clock),
- device_image_interface(mconfig, *this)
+ microtape_image_device(mconfig, WAFADRIVE_IMAGE, tag, owner, clock)
{
}
//-------------------------------------------------
-// microdrive_image_device - destructor
+// wafadrive_image_device - destructor
//-------------------------------------------------
wafadrive_image_device::~wafadrive_image_device()
@@ -42,9 +41,9 @@ void wafadrive_image_device::device_start()
{
}
-image_init_result wafadrive_image_device::call_load()
+std::pair<std::error_condition, std::string> wafadrive_image_device::call_load()
{
- return image_init_result::PASS;
+ return std::make_pair(std::error_condition(), std::string());
}
void wafadrive_image_device::call_unload()