]> git.sur5r.net Git - cc65/blobdiff - libsrc/common/_heapmemavail.s
Fixed problems that were introduced with r4287.
[cc65] / libsrc / common / _heapmemavail.s
index b628b1b929aa6e15b13a9281e9ffd6681d0032a1..5c94305e4a9968f06ad004d968f3a768d967ef47 100644 (file)
@@ -19,7 +19,7 @@
 
 __heapmemavail:
 
-; size_t Size = 0;           
+; size_t Size = 0;
 
         lda     #0
         sta     ptr2
@@ -39,7 +39,7 @@ __heapmemavail:
 
 ; Size += F->size;
 
-        ldy     #freeblock_size
+        ldy     #freeblock::size
         lda     (ptr1),y
         add     ptr2
         sta     ptr2