From c688f95374b44ef5d43a8eaa9ac52e127e98feed Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Tue, 23 Sep 2008 22:31:39 +0000 Subject: [PATCH] Fixed another error in pre-previous commit: ScanDirectoryTree should call itself recursively, not AddDirectoryEntries. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@649 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DiscIO/Src/VolumeDirectory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DiscIO/Src/VolumeDirectory.cpp b/Source/Core/DiscIO/Src/VolumeDirectory.cpp index 3cb219023d..9ad87a1370 100644 --- a/Source/Core/DiscIO/Src/VolumeDirectory.cpp +++ b/Source/Core/DiscIO/Src/VolumeDirectory.cpp @@ -475,7 +475,7 @@ static u32 ScanDirectoryTree(const std::string& _Directory, FSTEntry& parentEntr entry.physicalName = _Directory + "\\" + entry.virtualName; if(entry.isDirectory) { - u32 childEntries = AddDirectoryEntries(entry.physicalName, entry); + u32 childEntries = ScanDirectoryTree(entry.physicalName, entry); entry.size = childEntries; foundEntries += childEntries; }