mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-19 03:55:43 -04:00

Partially rewritten so it compiles as C code. References: - https://github.com/xenia-project/xenia/blob/master/src/xenia/cpu/lzx.cc - https://github.com/xenia-project/xenia/blob/master/src/xenia/cpu/lzx.h debian/copyright: Added copyright notices for these files.
29 lines
868 B
C
Vendored
29 lines
868 B
C
Vendored
/**
|
|
******************************************************************************
|
|
* Xenia : Xbox 360 Emulator Research Project *
|
|
******************************************************************************
|
|
* Copyright 2013 Ben Vanik. All rights reserved. *
|
|
* Released under the BSD license - see LICENSE in the root for more details. *
|
|
******************************************************************************
|
|
*/
|
|
|
|
#ifndef XENIA_CPU_LZX_H_
|
|
#define XENIA_CPU_LZX_H_
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int lzx_decompress(const void* lzx_data, size_t lzx_len, void* dest,
|
|
size_t dest_len, uint32_t window_size, void* window_data,
|
|
size_t window_data_len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // XENIA_CPU_LZX_H_
|