mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
don't test existence of file in AmigaOSFilesystemNode::getChild (bug #2487481)
svn-id: r36171
This commit is contained in:
parent
b1c58328a5
commit
6abcac40de
@ -316,14 +316,6 @@ AbstractFSNode *AmigaOSFilesystemNode::getChild(const Common::String &n) const {
|
||||
newPath += '/';
|
||||
|
||||
newPath += n;
|
||||
BPTR lock = IDOS->Lock(newPath.c_str(), SHARED_LOCK);
|
||||
|
||||
if (!lock) {
|
||||
debug(6, "Bad path");
|
||||
return 0;
|
||||
}
|
||||
|
||||
IDOS->UnLock(lock);
|
||||
|
||||
LEAVE();
|
||||
return new AmigaOSFilesystemNode(newPath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user