Fixed range errors when negative numbers where used as bytes. This wasn't

flagged by older ca65 versions because of errors in the range checks.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5166 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-15 15:23:31 +00:00
parent 6e32190cae
commit 7ed3fdc803
2 changed files with 4 additions and 4 deletions

View File

@@ -834,7 +834,7 @@ OUTTEXT:
lda Y1+1
sta text_y+1
ldy #-1 ; Calculate string length
ldy #<-1 ; Calculate string length
@L2:
iny
lda (STRPTR),y