mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
Code optimization contributed by Kajtar Zsolt, soci@c64.rulez.org
git-svn-id: svn://svn.cc65.org/cc65/trunk@5356 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
5b659547b8
commit
4127923ad1
@ -144,13 +144,13 @@ drivedone:
|
||||
|
||||
fncomplete:
|
||||
pha ; Save mode
|
||||
jsr fnaddcomma ; Add a comma
|
||||
lda __filetype
|
||||
jsr fnadd ; Add the type
|
||||
jsr fnaddmode ; Add the type
|
||||
pla
|
||||
fnaddmode:
|
||||
pha
|
||||
jsr fnaddcomma
|
||||
lda #','
|
||||
jsr fnadd
|
||||
pla
|
||||
|
||||
fnadd: ldx fnlen
|
||||
@ -158,10 +158,6 @@ fnadd: ldx fnlen
|
||||
sta fnbuf,x
|
||||
rts
|
||||
|
||||
fnaddcomma:
|
||||
lda #','
|
||||
bne fnadd
|
||||
|
||||
;--------------------------------------------------------------------------
|
||||
; Data
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user