]> git.sur5r.net Git - cc65/commitdiff
Fixed an error
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 24 Dec 2002 14:22:24 +0000 (14:22 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 24 Dec 2002 14:22:24 +0000 (14:22 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1835 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/tgi/tgi_map_mode.s

index 3e1fa116abcf0e473d15ed7452a9a16715812003..11af5f622e2730f76ca2f9cc4a8c3a57089ca876 100644 (file)
@@ -44,5 +44,8 @@ Found:  tya
         ldx     #>_tgi_mode_table
         sec                             ; Account for the mode byte
         adc     #<_tgi_mode_table       ; Return pointer to file name
-        rts
+        bcc     @L1
+        inx
+@L1:    rts
 
+