Fix drive label of z:\ sometimes now showing up
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2013
This commit is contained in:
parent
b052d69633
commit
363b366bca
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ bool Virtual_Drive::FindFirst(char * _dir,DOS_DTA & dta,bool fcb_findfirst) {
|
|||
Bit8u attr;char pattern[DOS_NAMELENGTH_ASCII];
|
||||
dta.GetSearchParams(attr,pattern);
|
||||
if(attr & DOS_ATTR_VOLUME) {
|
||||
dta.SetResult("DOSBOX",0,0,0,DOS_ATTR_ARCHIVE);
|
||||
dta.SetResult("DOSBOX",0,0,0,DOS_ATTR_VOLUME);
|
||||
return true;
|
||||
}
|
||||
return FindNext(dta);
|
||||
|
|
Loading…
Add table
Reference in a new issue