fix MV when dest does not exist

This commit is contained in:
Peter Ferrie 2023-12-14 11:47:41 -08:00
parent 75a3e9572a
commit 6340bc77fd
1 changed files with 2 additions and 2 deletions

View File

@ -233,9 +233,9 @@ CS.RUN.REG ldx #2
.2 .DO X.DELETE.SOURCE=1 mv file, check if srcbase=dstbase
bne .3 overwrite, copy over
lda hSrcBasePath
>LDA.G hSrcBasePath
jsr CS.RUN.PushPathA
lda hDstBasePath
>LDA.G hDstBasePath
jsr CS.RUN.PushPathA
>SYSCALL StrCaseCmp
bcs .3 not same dir, go copy/delete