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/gbdk/zx0decompress.h

      1 #ifndef __ZX0DECOMPRESS_H_INCLUDE
      2 #define __ZX0DECOMPRESS_H_INCLUDE
      3 
      4 #if defined(__TARGET_gb) || defined(__TARGET_ap) || defined(__TARGET_duck) || defined(__TARGET_sms) || defined(__TARGET_gg) || defined(__TARGET_msx)
      5 
      6 /** Decompress zx0 compressed data from sour into dest
      7 
      8     @param sour   Pointer to source zx0 compressed data
      9     @param dest   Pointer to destination buffer/address
     10 
     11     Will decompress __all__ of it's data to destination without
     12     stopping until the end of compressed data is reached. It is
     13     not possible to set a limit, so ensure the destination buffer
     14     has sufficient space to avoid an overflow.
     15 
     16     Decompresses data which has been compressed with @ref utility_gbcompress "gbcompress" using the `--alg=zx0` argument.
     17 */
     18 void zx0_decompress(void * sour, void * dest);
     19 
     20 #endif
     21 
     22 #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.