Latest changes
- fixed linking (nw) by micko
- Sync with MAME r15344 (no whatsnew) by micko
This is an enumeration of error codes that can be returned by imgtool drivers. It's defined in mess/tools/imgtool/imgterrs.h.
IMGTOOLERR_SUCCESS – Should be returned when a function completes successfully.IMGTOOLERR_OUTOFMEMORYIMGTOOLERR_UNEXPECTEDIMGTOOLERR_BUFFERTOOSMALLIMGTOOLERR_READERROR – General read error.IMGTOOLERR_WRITEERROR – General write error.IMGTOOLERR_READONLYIMGTOOLERR_CORRUPTIMAGE – The image is corrupt.IMGTOOLERR_CORRUPTFILE – The file is corrupt.IMGTOOLERR_CORRUPTDIR – The directory is corrupt.IMGTOOLERR_FILENOTFOUND – The file that was requested was not found in the image.IMGTOOLERR_MODULENOTFOUNDIMGTOOLERR_UNIMPLEMENTED – A function is not yet implemented. For example, the write_file() function.IMGTOOLERR_PARAMTOOSMALLIMGTOOLERR_PARAMTOOLARGEIMGTOOLERR_PARAMNEEDEDIMGTOOLERR_PARAMNOTNEEDEDIMGTOOLERR_PARAMCORRUPTIMGTOOLERR_BADFILENAME – The filename is not acceptable for the image filesystem. For example, the FAT filesystem cannot handle filenames with ”:” in them.IMGTOOLERR_NOSPACE – There is not enough space to complete the operation, like writing a file to the image.IMGTOOLERR_INPUTPASTENDIMGTOOLERR_CANNOTUSEPATHIMGTOOLERR_INVALIDPATHIMGTOOLERR_PATHNOTFOUNDIMGTOOLERR_DIRNOTEMPTYIMGTOOLERR_SEEKERRORIMGTOOLERR_NOFORKSIMGTOOLERR_FORKNOTFOUNDIMGTOOLERR_INVALIDPARTITION