Fixed an invalid store offset which resulted in random values returned by the
function. git-svn-id: svn://svn.cc65.org/cc65/trunk@5624 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -32,7 +32,7 @@ __heapblocksize:
|
|||||||
sta ptr2 ; Place the raw block pointer into ptr2
|
sta ptr2 ; Place the raw block pointer into ptr2
|
||||||
iny
|
iny
|
||||||
lda (ptr1),y
|
lda (ptr1),y
|
||||||
sta ptr2+2
|
sta ptr2+1
|
||||||
|
|
||||||
; Load the size from the raw block
|
; Load the size from the raw block
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user