| 1 | // |
| 2 | // decompressz80.h |
| 3 | // Part of ScottFree, an interpreter for adventures in Scott Adams format |
| 4 | // |
| 5 | // Created by Petter Sjölund on 2022-01-24. |
| 6 | // |
| 7 | |
| 8 | #ifndef decompressz80_h |
| 9 | #define decompressz80_h |
| 10 | |
| 11 | #include <stdint.h> |
| 12 | #include <stdlib.h> |
| 13 | |
| 14 | /* Will return NULL on error or 0xc000 (49152) bytes of uncompressed raw data on |
| 15 | * success */ |
| 16 | uint8_t *DecompressZ80(uint8_t *raw_data, size_t length); |
| 17 | |
| 18 | #endif /* decompressz80_h */ |