diff options
author | 2023-04-08 02:38:31 +1000 | |
---|---|---|
committer | 2023-04-08 02:38:31 +1000 | |
commit | 2b424f5a8090961db0d8224f755b2dff7c9e9a8c (patch) | |
tree | 97da90487cbdefff24bcccc57f8a874b9ac8c929 /src/devices/bus/ekara/slot.h | |
parent | 9bda81283d963ee04dba90901f89c6f264ed3f3b (diff) |
Restored ability of for image devices to report specific error messages.
Restores ability to give specific/detailed messages removed in
6f7e4141ea14acaaf9cb973c66788fabb3457023 while pandering to obsession
with single return value.
Moved responsibility for displaying the error message in the UI to the
caller rather than device_image_interface, and made
device_image_interface always log the error along with the full path and
error condition content.
Gave several image devices more detailed error messages. Added some
FIXME comments for apparent bugs.
Diffstat (limited to 'src/devices/bus/ekara/slot.h')
-rw-r--r-- | src/devices/bus/ekara/slot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/ekara/slot.h b/src/devices/bus/ekara/slot.h index e0cccf808bd..69ccaa7ed03 100644 --- a/src/devices/bus/ekara/slot.h +++ b/src/devices/bus/ekara/slot.h @@ -81,7 +81,7 @@ public: virtual ~ekara_cart_slot_device(); // device_image_interface implementation - virtual std::error_condition call_load() override; + virtual std::pair<std::error_condition, std::string> call_load() override; virtual void call_unload() override {} virtual bool is_reset_on_load() const noexcept override { return true; } |