mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Reduce the ignore case a bit, so the 0x3F check a bit farther down can work
This commit is contained in:
@@ -2720,7 +2720,7 @@ bool fatDrive::FindFirst(const char *_dir, DOS_DTA &dta,bool fcb_findfirst) {
|
||||
* which to us appears as a program searching for files that may also be a volume label and/or hidden (CX=0x000A). */
|
||||
/* TODO: Perhaps this check could be rolled into the _dir && *_dir && dta.GetAttr() == 0x3F check? */
|
||||
bool ignore_volbit = false;
|
||||
if ((dta.GetAttr() & ~(DOS_ATTR_HIDDEN|DOS_ATTR_SYSTEM|DOS_ATTR_DIRECTORY|DOS_ATTR_ARCHIVE)) == DOS_ATTR_VOLUME) {
|
||||
if ((dta.GetAttr() & ~(DOS_ATTR_HIDDEN|DOS_ATTR_SYSTEM|DOS_ATTR_ARCHIVE)) == DOS_ATTR_VOLUME) {
|
||||
LOG(LOG_MISC,LOG_DEBUG)("FindFirst() ignoring volume label bit because other bits are set (Elder Scrolls Arena fix)");
|
||||
ignore_volbit = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user