diff options
author | 2015-07-20 08:11:41 +0200 | |
---|---|---|
committer | 2015-07-20 08:11:41 +0200 | |
commit | 4bcb0c13f50ddb1cd3fd0341b4bb31d9c3c7fc7a (patch) | |
tree | 55eccacfca0e69435d0d4e6615205310ca11f271 /src/lib/util/corefile.c | |
parent | d132946c6f45aa8d271c6180e86f72dd08243048 (diff) | |
parent | 229785f695b26c702c8490792611f59d0366a933 (diff) |
Merge pull request #5 from mamedev/master
Sync to base master
Diffstat (limited to 'src/lib/util/corefile.c')
-rw-r--r-- | src/lib/util/corefile.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/util/corefile.c b/src/lib/util/corefile.c index 823d37b8b55..797805ac768 100644 --- a/src/lib/util/corefile.c +++ b/src/lib/util/corefile.c @@ -1028,6 +1028,20 @@ static file_error osd_or_zlib_read(core_file *file, void *buffer, UINT64 offset, handles zlib-compressed data -------------------------------------------------*/ +/** + * @fn static file_error osd_or_zlib_write(core_file *file, const void *buffer, UINT64 offset, UINT32 length, UINT32 *actual) + * + * @brief OSD or zlib write. + * + * @param [in,out] file If non-null, the file. + * @param buffer The buffer. + * @param offset The offset. + * @param length The length. + * @param [in,out] actual If non-null, the actual. + * + * @return A file_error. + */ + static file_error osd_or_zlib_write(core_file *file, const void *buffer, UINT64 offset, UINT32 length, UINT32 *actual) { /* if no compression, just pass through */ |