fixed filtering by file type

This commit is contained in:
FeralChild64 committed 2021-03-03 17:24:29 +01:00
1 parent d91e8365b6
commit 384d5a4fb2
1 file changed
+5 -3
+5 -3
View File
@@ -50,9 +50,9 @@ util_dir_filter:
beq @done
lda PAR_FPATTERN, y
; XXXthe comparisons below do not work; investigate, why
sta $1000
cmp #$44 ; if 'D' - require a directory XXX document this
cmp #$44 ; if 'D' - require a directory XXX documment this extension
beq @require_dir
cmp #$50 ; if 'P' - require PRG file
beq @require_prg
@@ -87,5 +87,7 @@ util_dir_filter:
lda #$05
cmp PAR_FTYPE
eor PAR_FTYPE
and #%00111111
rts