git.y1.nz

gbdk-2020

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

commit 8100f6858f03e469f3c8c2e69e14808505f2199f
parent 448f86d42a5607b8eb4b93156be9d69b889cdd3e
Author: toxa <untoxa@mail.ru>
Date:   Thu, 18 Feb 2021 16:07:25 +0300

make gbdompress utility compile with latest sdcc

Diffstat:
Mgbdk-support/gbcompress/gbcompress.c8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gbdk-support/gbcompress/gbcompress.c b/gbdk-support/gbcompress/gbcompress.c @@ -12,10 +12,10 @@ const uint8_t len_mask = 0x3F; const uint8_t token_mask = 0xC0; -const uint8_t token_byte = 0x00; -const uint8_t token_word = 0x40; -const uint8_t token_str = 0x80; -const uint8_t token_trash = 0xC0; +#define token_byte 0x00 +#define token_word 0x40 +#define token_str 0x80 +#define token_trash 0xC0 const uint8_t EOFMarker = 0x00;

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