ed: fix boken 'a' and 'd' cmds

This commit is contained in:
Virgil Dupras 2019-07-21 19:32:24 -04:00
parent f43241a5a0
commit 0fd16a0bb6
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,7 @@ edMain:
; Now, process line.
call printcrlf
call cmdParse
jr nz, .error
jp nz, .error
ld a, (CMD_TYPE)
cp 'q'
jr z, .doQ
@ -84,6 +84,7 @@ edMain:
call cpHLDE
pop hl ; <-- lvl 1
jr z, .error
ld a, (CMD_TYPE)
cp 'd'
jr z, .doD
cp 'a'