1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-14 00:32:08 +00:00

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:
uz 2012-03-25 13:13:37 +00:00
parent 724d1b9160
commit f059634cda

View File

@ -32,7 +32,7 @@ __heapblocksize:
sta ptr2 ; Place the raw block pointer into ptr2
iny
lda (ptr1),y
sta ptr2+2
sta ptr2+1
; Load the size from the raw block