]> git.sur5r.net Git - cc65/commitdiff
fnparse will return zero flag according to error (ZF=1 means no error).
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 22 Feb 2009 13:54:03 +0000 (13:54 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 22 Feb 2009 13:54:03 +0000 (13:54 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3938 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/cbm/sysremove.s

index ddd90009750c033d44eb6e390261359b4ff7e3ec..51a3d430532da9900e6c94b745f9b706f210f264 100644 (file)
@@ -14,7 +14,6 @@
 .proc   __sysremove
 
         jsr     fnparse         ; Parse the given file name
-        cmp     #0              ; Do we have an error?
         bne     err             ; Jump if yes
         jmp     scratch         ; Scratch the file, return an error code
 err:    rts