This commit is contained in:
Irmen de Jong 2020-12-08 03:39:45 +01:00
parent 7accb73993
commit 106fc5daa4

View File

@ -146,16 +146,15 @@ io_error:
void c64.CHRIN()
if not list_skip_disk_name {
ubyte matches = true
if list_pattern_size {
; do filename matching
if list_suffixmatch
rightstr(list_filename, filename, list_pattern_size)
else
leftstr(list_filename, filename, list_pattern_size)
matches = strcmp(filename, list_pattern)==0
}
if matches
if strcmp(filename, list_pattern)==0
return true
} else
return true
}
list_skip_disk_name = false