Skip to content

Commit

Permalink
[cx16] Don't RTS from file init/fini snippets; they're not functions
Browse files Browse the repository at this point in the history
Fixes #346
  • Loading branch information
mysterymath committed Jul 11, 2024
1 parent 819e321 commit 255502c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mos-platform/cx16/filevars.s
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ initcurunit:
lda #8 ; Default is SD card
sta DEVNUM
L0: sta curunit
rts


.section .fini,"axR",@progbits
updatedevnum:
lda curunit
sta DEVNUM
rts

0 comments on commit 255502c

Please sign in to comment.