gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 81cea0ff3acb3bda2a1878490418f92704614f87 parent 3f8d4c1d875384353d1dd6a42ddf440e30659a48 Author: Toxa <untoxa@mail.ru> Date: Mon, 27 Dec 2021 12:58:44 +0300 SMS/GG: fix vmemcpy() Diffstat:
| M | gbdk-lib/libc/targets/z80/vmemcpy.s | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gbdk-lib/libc/targets/z80/vmemcpy.s b/gbdk-lib/libc/targets/z80/vmemcpy.s @@ -10,6 +10,8 @@ _vmemcpy:: pop de ; pop ret address pop hl ; dst + DISABLE_VBLANK_COPY + SMS_WRITE_VDP_CMD h, l pop hl ; src @@ -35,7 +37,9 @@ _vmemcpy:: 4$: dec a jp nz, 3$ - + + ENABLE_VBLANK_COPY + ld h, d ld l, e jp (hl)
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.