gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 9a0f60342e1c412c589b3f0d01b189ae5ce2388b parent bd2732f922d7b0d6f4fcc0eb64db79017b03fcca Author: Toxa <untoxa@mail.ru> Date: Thu, 24 Jun 2021 18:50:11 +0300 INCBIN_EXTERN(a) for BANKREF(a) defines &a == 0x4000 (start of the bank) and SIZE(a) == 0x4000 (size of the bank) Diffstat:
| M | gbdk-lib/include/gb/incbin.h | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gbdk-lib/include/gb/incbin.h b/gbdk-lib/include/gb/incbin.h @@ -90,7 +90,7 @@ __endasm; \ __asm \ _ ## VARNAME = 0x4000 \ .globl _ ## VARNAME \ - ___size_ ## VARNAME = 0 \ + ___size_ ## VARNAME = 0x4000 \ .globl ___size_ ## VARNAME \ .local b___func_ ## VARNAME \ ___bank_ ## VARNAME = b___func_ ## VARNAME \
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.