Fix bug in previous commit!

This commit is contained in:
Bobbi Webber-Manners 2021-09-16 19:07:34 -04:00
parent 3a04d29a11
commit 09375265fd
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -113,11 +113,11 @@ COPYFILE >>> ENTMAIN
BRA :MAINLOOP ; Source: wildcard, dest: dir
:NOWILD
:MAINLOOP
LDA MOSFILE2 ; Length
STA :OLDLEN
JSR EXISTS ; See if source is file or dir
CMP #$02 ; Directory
BEQ :SKIP ; Skip directories
LDA MOSFILE2 ; Length
STA :OLDLEN
LDA :DESTTYPE ; Check dest type
CMP #$02 ; Existing directory?
BNE :NOTDIR