SHELL:fixed bug in history

This commit is contained in:
Rémy GIBERT 2016-04-28 16:55:22 +02:00
parent 7cbf06faf4
commit 92dc3f937d

View File

@ -112,6 +112,8 @@ History.GetPrev ldy #hCmdHistory
tay
sec
adc (ZPPTR1),y
bcs History.RTS out of buffer
ldy #CmdHistory.IDX
cmp (pData),y
bne .1 reached current index