gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 4e67919132770c30af4375e5af8a3d82618ad041 parent 545978c518bf71ac3e5a64e638250db88fdbb185 Author: Toxa <untoxa@mail.ru> Date: Tue, 17 Aug 2021 16:04:52 +0300 optimize initialization of metasprite rendering function Diffstat:
| M | gbdk-lib/libc/targets/gbz80/metasprites.s | 14 | +++++++------- |
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/gbdk-lib/libc/targets/gbz80/metasprites.s b/gbdk-lib/libc/targets/gbz80/metasprites.s @@ -6,16 +6,16 @@ .area _DATA ___current_metasprite:: - .ds 0x02 + .ds 0x02 ___current_base_tile:: - .ds 0x01 -___render_shadow_OAM:: .ds 0x01 - .area _GSINIT - - ld a, #>_shadow_OAM - ld (___render_shadow_OAM), a + .area _INITIALIZED +___render_shadow_OAM:: + .ds 0x01 + + .area _INITIALIZER + .db #>_shadow_OAM .area _CODE
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.