don't crash for invalid pcount / bad fst call

This commit is contained in:
Kelvin Sherlock 2015-09-04 15:58:52 -04:00
parent 7286bddc11
commit b9920b60c0
1 changed files with 2 additions and 3 deletions

View File

@ -193,7 +193,6 @@ app_entry procname
jsr debug jsr debug
ENDIF ENDIF
; check the class 0 or 1 only. ; check the class 0 or 1 only.
cpy #2+1 cpy #2+1
@ -264,12 +263,12 @@ app_entry procname
@bad_system_call @bad_system_call
lda #bad_system_call lda #bad_system_call
sec sec
rtl jml sys_exit
@invalid_pcount @invalid_pcount
lda #invalid_pcount lda #invalid_pcount
sec sec
rtl jml sys_exit