git.y1.nz

gbdk-2020

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

commit 5132ee8df90daf94c492fece638f99092b7b351b
parent 82d5bf7a125f8144a133b9cb7c44bd0d51a9b359
Author: Toxa <untoxa@mail.ru>
Date:   Sun, 28 Nov 2021 23:42:23 +0300

fix inverse result of memcmp()

Diffstat:
Mgbdk-lib/libc/asm/gbz80/_memcmp.s4++--
Mgbdk-lib/libc/asm/z80/memcmp.s4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gbdk-lib/libc/asm/gbz80/_memcmp.s b/gbdk-lib/libc/asm/gbz80/_memcmp.s @@ -38,8 +38,8 @@ _memcmp:: ret 2$: - ld de,#-1 + ld de,#1 ret c - ld de,#1 + ld de,#-1 ret diff --git a/gbdk-lib/libc/asm/z80/memcmp.s b/gbdk-lib/libc/asm/z80/memcmp.s @@ -31,8 +31,8 @@ _memcmp:: ret 2$: - ld hl,#-1 + ld hl,#1 ret c - ld hl,#1 + ld hl,#-1 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.