cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

gbdecompress.h (632B)


      1/** @file gb/gbdecompress.h
      2    
      3    GB-Compress decompressor
      4    Compatible with the compression used in GBTD
      5*/
      6
      7#ifndef __GBDECOMPRESS_H_INCLUDE
      8#define __GBDECOMPRESS_H_INCLUDE
      9
     10#include <types.h>
     11#include <stdint.h>
     12
     13/** gb-decompress data from sour into dest
     14
     15    @param sour   Pointer to source gb-compressed data
     16    @param dest   Pointer to destination buffer/address
     17
     18    @return       Return value is number of bytes decompressed
     19
     20    @see gb_decompress_bkg_data, gb_decompress_win_data, gb_decompress_sprite_data
     21 */
     22uint16_t gb_decompress(const uint8_t * sour, uint8_t * dest) Z88DK_CALLEE PRESERVES_REGS(b, c);
     23
     24#endif