simple dev setup for asm unpackers

This commit is contained in:
2022-09-18 15:40:23 +02:00
parent 629c5fce7d
commit 434769b591
7 changed files with 299 additions and 4 deletions

View File

@@ -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;
}