Fix FCB FindNext search pattern handling
authorRobert Pengelly <robertapengelly@hotmail.com>
Sun, 25 Oct 2026 17:08:11 +0000 (17:08 +0000)
committerRobert Pengelly <robertapengelly@hotmail.com>
Sun, 25 Oct 2026 17:08:11 +0000 (17:08 +0000)
interrupts.c

index 43992aabf6be8c75a35e0a6b45c28047f2bcd42a..e1214cbc3a809bb7dd1b46689026945883a20b82 100644 (file)
@@ -6337,6 +6337,8 @@ static void int_21 (CPU8086 *cpu) {
                 
                 }
                 
+                fcb_make_pattern (cpu, cpu->ds, fcb_off, s->pattern);
+                
                 while ((name = dos_find_next_directory_entry (s->dir, s->dirpath, &s->dot_phase)) != NULL) {
                 
                     struct stat st;