mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
[CPU] Use window size for LZX ref_data_size
This commit is contained in:
parent
1cc06ea3e7
commit
71780838f0
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ int lzx_decompress(const void* lzx_data, size_t lzx_len, void* dest,
|
|||
std::memset(lzxd->window, 0, window_data_len);
|
||||
std::memcpy(lzxd->window + (window_size - window_data_len), window_data,
|
||||
window_data_len);
|
||||
lzxd->ref_data_size = (uint32_t)window_data_len;
|
||||
lzxd->ref_data_size = window_size;
|
||||
}
|
||||
|
||||
result_code = lzxd_decompress(lzxd, (off_t)dest_len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue