summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Src/Filesystem.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2010-06-03 20:37:32 +0000
committerhrydgard <hrydgard@gmail.com>2010-06-03 20:37:32 +0000
commit5539dd4e8b45c48136d35e822168e09292f1f52d (patch)
treebc4580e82fe8be3dfdcdea6129d50c9ef39c3dce /Source/Core/DiscIO/Src/Filesystem.cpp
parent49bbbe099dcd47971eb0f7d22187b13269123a44 (diff)
Gamelist loading speedup: Be lazy about parsing the file system - it's not necessary for Wii games since the banners are external (in savegames). Also make it possible for the gamelist code to create cache entries for GC images without banners.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5595 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/Filesystem.cpp')
-rw-r--r--Source/Core/DiscIO/Src/Filesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/Filesystem.cpp b/Source/Core/DiscIO/Src/Filesystem.cpp
index 23cfd5d77f..b2953a1f15 100644
--- a/Source/Core/DiscIO/Src/Filesystem.cpp
+++ b/Source/Core/DiscIO/Src/Filesystem.cpp
@@ -40,7 +40,7 @@ IFileSystem* CreateFileSystem(const IVolume* _rVolume)
if (!pFileSystem)
return 0;
- if (!pFileSystem->IsInitialized())
+ if (!pFileSystem->IsValid())
{
delete pFileSystem;
pFileSystem = NULL;