mirror of
https://github.com/holub/mame
synced 2025-04-28 03:02:52 +03:00
![]() - Remove the seterror method for recording error messages and conditions. Condition codes have been made return values for call_load, call_create and various related callbacks. Error messages (which many devices weren't generating) are now displayed through osd_printf_error. - Eliminate the image_init_result and image_verify_result pass/fail enumeration types. Update many functions that were returning these enumerations or simply bools to return std::error_condition instead. In some cases, this type is now passed down from internal parsing/loading functions which were already returning it. In various other cases, the former default UNSPECIFIED has been used as a catchall for I/O errors; anticipated future refactorings should make these error returns more specific. - Expand the image_error categories to include INVALIDLENGTH, NOSOFTWARE and BADSOFTWARE. The first is largely self-explanatory. The second is generated by the core to indicate failure to find software items in lists. The third is provided for devices to indicate semantic errors in software list entries. - Change the return type of floppy_image_device::identify to a pair so the potential error condition can be passed along to the UI without storing it in a member variable. - Move device_image_interface::message down into snapshot_image_device and change its implementation to use string_format instead of printf. - Correct a typo in the shortname of the generic snapshot device. |
||
---|---|---|
.. | ||
_ext | ||
_templates | ||
advanced | ||
commandline | ||
contributing | ||
debugger | ||
images | ||
initialsetup | ||
plugins | ||
techspecs | ||
tools | ||
usingmame | ||
__init__.py | ||
conf.py | ||
healthwarning.rst | ||
index.rst | ||
license.rst | ||
security.rst | ||
whatis.rst |