mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-18 06:05:15 +02:00
11 lines
504 B
C++
11 lines
504 B
C++
// Test-only DLL: never package this as the game's actual codec.
|
|
#include <cstdint>
|
|
|
|
extern "C" __declspec(dllexport) std::int64_t __cdecl OodleLZ_Decompress(
|
|
const void* input, std::int64_t inputSize, void* output, std::int64_t outputSize,
|
|
int, int, int, void*, std::int64_t, void*, void*, void*, std::int64_t, int) {
|
|
if (!input || !output || inputSize != 1 || outputSize != 1) return -1;
|
|
*static_cast<unsigned char*>(output) = *static_cast<const unsigned char*>(input);
|
|
return 1;
|
|
}
|