git.y1.nz

gbdk-2020

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

commit c982d5c5a985f10eeaf505cd07013337e56426d8
parent f5d12b3ac77e98604987bcabba4ee1d418efa2e8
Author: Michel Iwaniec <46843052+michel-iwaniec@users.noreply.github.com>
Date:   Fri, 31 May 2024 03:14:50 +0100

NES: Fix problem with deferred LCD isr special-case at scanline 0 not working unless _lcd_scanline was changed by LCD handler (#685)

* Move label jumped to upwards, so if-less-than-reached-scanline check still happens for special-case
Diffstat:
Mgbdk-lib/libc/targets/mos6502/nes/crt0.s2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gbdk-lib/libc/targets/mos6502/nes/crt0.s b/gbdk-lib/libc/targets/mos6502/nes/crt0.s @@ -442,10 +442,10 @@ _vsync:: 1$: pla sta *.lcd_scanline_previous +2$: ; We are done if next scanline is <= the previous one cmp *__lcd_scanline bcs _wait_vbl_done_waitForNextFrame -2$: ; ldy __lcd_isr_num_calls lda *__lcd_scanline

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.