From d262a75cdc91ccd692359e7a092fdf1388605ebd Mon Sep 17 00:00:00 2001 From: Brandon Date: Sat, 17 Oct 2026 22:36:29 -0400 Subject: [PATCH] Forgot to update a label name --- libsrc/nes/crt0.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsrc/nes/crt0.s b/libsrc/nes/crt0.s index 99f923b3a..bfd23315d 100644 --- a/libsrc/nes/crt0.s +++ b/libsrc/nes/crt0.s @@ -16,7 +16,7 @@ ; Linker-generated symbols .import __RAM_START__, __RAM_SIZE__ - .import __SRAM_START__, __SRAM_SIZE__ + .import __STACK_START__, __STACK_SIZE__ .import __ROM0_START__, __ROM0_SIZE__ .import __STARTUP_LOAD__,__STARTUP_RUN__, __STARTUP_SIZE__ .import __CODE_LOAD__,__CODE_RUN__, __CODE_SIZE__ @@ -126,8 +126,8 @@ start: ; Set up the stack. - lda #<(__SRAM_START__ + __SRAM_SIZE__) - ldx #>(__SRAM_START__ + __SRAM_SIZE__) + lda #<(__STACK_START__ + __STACK_SIZE__) + ldx #>(__STACK_START__ + __STACK_SIZE__) sta c_sp stx c_sp+1 ; Set argument stack ptr