From: uz Date: Sun, 25 Mar 2012 13:13:37 +0000 (+0000) Subject: Fixed an invalid store offset which resulted in random values returned by the X-Git-Tag: V2.14~441 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f059634cda5f171d45152b925a6557b020a10134;p=cc65 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 --- diff --git a/libsrc/common/_heapblocksize.s b/libsrc/common/_heapblocksize.s index 2be32fef4..b7458479c 100644 --- a/libsrc/common/_heapblocksize.s +++ b/libsrc/common/_heapblocksize.s @@ -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