]> git.sur5r.net Git - cc65/commitdiff
Removed useless high byte loads of the error code.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 8 Jul 2010 15:00:15 +0000 (15:00 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 8 Jul 2010 15:00:15 +0000 (15:00 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4734 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/open.s

index 73361336f4d1c70ff965a5207d5b2364773fef32..ee662838144c7c2de5751a3ac5624486080fd538 100644 (file)
@@ -65,7 +65,6 @@ iocbok:       stx     tmp4
 
 .ifndef        UCASE_FILENAME
 invret:        lda     #<EINVAL        ; file name is too long
-       ldx     #>EINVAL
        jmp     seterr
 .endif
 
@@ -96,7 +95,6 @@ cont: ldy     #3
        jsr     ucase_fn
        bcc     ucok1
 invret:        lda     #<EINVAL        ; file name is too long
-       ldx     #>EINVAL
        jmp     seterr
 ucok1: