mirror of
https://github.com/exoticorn/upkr.git
synced 2026-01-20 11:36:42 +01:00
simple dev setup for asm unpackers
This commit is contained in:
@@ -57,7 +57,7 @@ int upkr_decode_length(int context_index) {
|
||||
return length | (1 << bit_pos);
|
||||
}
|
||||
|
||||
int upkr_unpack(void* destination, void* compressed_data) {
|
||||
void* upkr_unpack(void* destination, void* compressed_data) {
|
||||
upkr_data_ptr = (u8*)compressed_data;
|
||||
upkr_state = 0;
|
||||
#ifdef UPKR_BITSTREAM
|
||||
@@ -95,5 +95,5 @@ int upkr_unpack(void* destination, void* compressed_data) {
|
||||
}
|
||||
}
|
||||
|
||||
return write_ptr - (u8*)destination;
|
||||
return write_ptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user