mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Fixed an invalid store offset, which caused an invalid pointer as a function
result. The actual conversion was ok. git-svn-id: svn://svn.cc65.org/cc65/trunk@5625 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f059634cda
commit
9ee0fa91e6
@ -19,7 +19,7 @@ _strlwr:
|
||||
sta ptr1 ; Save s (working copy)
|
||||
stx ptr1+1
|
||||
sta ptr2
|
||||
sta ptr2+2 ; save function result
|
||||
sta ptr2+1 ; save function result
|
||||
ldy #0
|
||||
|
||||
loop: lda (ptr1),y ; get character
|
||||
|
@ -19,7 +19,7 @@ _strupr:
|
||||
sta ptr1 ; Save s (working copy)
|
||||
stx ptr1+1
|
||||
sta ptr2
|
||||
sta ptr2+2 ; save function result
|
||||
sta ptr2+1 ; save function result
|
||||
ldy #0
|
||||
|
||||
loop: lda (ptr1),y ; get character
|
||||
|
Loading…
x
Reference in New Issue
Block a user