Fix bug - target addr wasn't being cleared by set heap.

This commit is contained in:
Martin Haye 2016-10-13 09:27:43 -07:00
parent a6f68275d6
commit d085707158

View File

@ -2858,6 +2858,7 @@ heapSet: !zone
; Zero memory heapTop.heapEnd
heapClr: !zone
lda #0
sta targetAddr+1 ; clear target addr now that we're done with heap top
ldx heapTop
ldy heapTop+1
.pg sty .st+2