fixed some fcb errors: fcb-open and fcb-create created.
fixed return values. fixed wildcmp Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@492
This commit is contained in:
parent
055e02bb41
commit
764dc5c543
6 changed files with 18 additions and 7 deletions
|
@ -63,6 +63,7 @@ bool WildFileCmp(const char * file, const char * wild)
|
|||
r++;
|
||||
}
|
||||
checkext:
|
||||
r=0;
|
||||
while (r<3) {
|
||||
if (wild_ext[r]=='*') return true;
|
||||
if (wild_ext[r]!='?' && wild_ext[r]!=file_ext[r]) return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue