mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
util/unzip.cpp: Update for latest LZMA SDK.
This commit is contained in:
parent
a504bde3a7
commit
472f441a1b
1 changed files with 2 additions and 2 deletions
|
@ -1388,8 +1388,8 @@ std::error_condition zip_file_impl::decompress_data_type_14(std::uint64_t offset
|
|||
|
||||
// reset the stream
|
||||
ISzAlloc alloc_imp;
|
||||
alloc_imp.Alloc = [] (void *p, std::size_t size) -> void * { return size ? std::malloc(size) : nullptr; };
|
||||
alloc_imp.Free = [] (void *p, void *address) -> void { std::free(address); };
|
||||
alloc_imp.Alloc = [] (ISzAllocPtr p, std::size_t size) -> void * { return size ? std::malloc(size) : nullptr; };
|
||||
alloc_imp.Free = [] (ISzAllocPtr p, void *address) -> void { std::free(address); };
|
||||
CLzmaDec stream;
|
||||
LzmaDec_Construct(&stream);
|
||||
|
||||
|
|
Loading…
Reference in a new issue