summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Src/VolumeDirectory.cpp
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2008-09-23 22:31:39 +0000
committerMaarten ter Huurne <maarten@treewalker.org>2008-09-23 22:31:39 +0000
commitc688f95374b44ef5d43a8eaa9ac52e127e98feed (patch)
tree7aed0f34309edd90b54d40f75b7ab5c805e8be4e /Source/Core/DiscIO/Src/VolumeDirectory.cpp
parentb79bd60b7ccc2e5262f561968657d7f72ba79ad1 (diff)
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
Diffstat (limited to 'Source/Core/DiscIO/Src/VolumeDirectory.cpp')
-rw-r--r--Source/Core/DiscIO/Src/VolumeDirectory.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}