git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-lib/include/sms/gbdecompress.h

      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  */
     22 uint16_t gb_decompress(const uint8_t * sour, uint8_t * dest) Z88DK_CALLEE PRESERVES_REGS(b, c);
     23 
     24 #endif

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.