From d4e432daddd61b8358c63b3d2f9ff2c592f301ce Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sun, 6 Mar 2016 14:26:42 +0100 Subject: [PATCH] Fix issue with lazy loading directory entries. Fixes #8613. --- Core/FileSystems/ISOFileSystem.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/FileSystems/ISOFileSystem.cpp b/Core/FileSystems/ISOFileSystem.cpp index ac3bcc8c96..fcb7390571 100644 --- a/Core/FileSystems/ISOFileSystem.cpp +++ b/Core/FileSystems/ISOFileSystem.cpp @@ -310,6 +310,8 @@ ISOFileSystem::TreeEntry *ISOFileSystem::GetFromPath(const std::string &path, bo if (nextEntry) { entry = nextEntry; + if (!entry->valid) + ReadDirectory(entry); pathIndex += name.length(); if (pathIndex < pathLength && path[pathIndex] == '/') ++pathIndex;