gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 168f6f72bdf21faa70b6b3f97bcea2a084b5b680 parent a702abdbfbefd67539903e5300026d84202f25b9 Author: Toxa <untoxa@mail.ru> Date: Sun, 25 Feb 2024 00:20:34 +0300 SMS/GG/MSX fix return result of the "set tile at x, y" family functions Diffstat:
| M | gbdk-lib/libc/targets/z80/set_tile.s | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/gbdk-lib/libc/targets/z80/set_tile.s b/gbdk-lib/libc/targets/z80/set_tile.s @@ -41,7 +41,9 @@ _set_attributed_tile_xy:: VDP_DELAY out (c), d + ex de, hl ENABLE_VBLANK_COPY + ex de, hl ret ; uint8_t * set_tile_xy(uint8_t x, uint8_t y, uint8_t t) __z88dk_callee __preserves_regs(iyh, iyl); @@ -64,7 +66,9 @@ _set_tile_xy:: ld a, d out (.VDP_DATA), a + ex de, hl ENABLE_VBLANK_COPY + ex de, hl ret ; uint8_t * set_attribute_xy(uint8_t x, uint8_t y, uint8_t a) __z88dk_callee __preserves_regs(iyh, iyl); @@ -88,5 +92,7 @@ _set_attribute_xy:: ld a, d out (.VDP_DATA), a + ex de, hl ENABLE_VBLANK_COPY + ex de, hl ret
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.