mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 20:21:06 +00:00
Remove file attribute check, since getChild() can be called on file path that doesn'r exist.
svn-id: r33633
This commit is contained in:
parent
b89c9c9b89
commit
a9bef1051e
@ -260,11 +260,6 @@ AbstractFilesystemNode *WindowsFilesystemNode::getChild(const String &n) const {
|
||||
newPath += '\\';
|
||||
newPath += n;
|
||||
|
||||
// Check whether the directory actually exists
|
||||
DWORD fileAttribs = GetFileAttributes(toUnicode(newPath.c_str()));
|
||||
if (fileAttribs == INVALID_FILE_ATTRIBUTES)
|
||||
return 0;
|
||||
|
||||
return new WindowsFilesystemNode(newPath, false);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user