diff options
| author | sl1nk3.s <sl1nk3.s@gmail.com> | 2009-06-07 02:54:07 +0000 |
|---|---|---|
| committer | sl1nk3.s <sl1nk3.s@gmail.com> | 2009-06-07 02:54:07 +0000 |
| commit | 8cb67f472957a8c431e3d1ee18237afadd90e32d (patch) | |
| tree | db50447ad7088b50c310162205ecb7420cf8446b /Source/Core/DiscIO/Src/BannerLoader.cpp | |
| parent | 7eea69f5c2eeff15a6f9f3a8b5c1d461c2fb6722 (diff) | |
Added wad files detection to the GameListCtrl, some changes to ISOProperties, needs a bit more work ?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3348 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/BannerLoader.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/BannerLoader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/Src/BannerLoader.cpp b/Source/Core/DiscIO/Src/BannerLoader.cpp index b5d2d21690..6c9b4c970b 100644 --- a/Source/Core/DiscIO/Src/BannerLoader.cpp +++ b/Source/Core/DiscIO/Src/BannerLoader.cpp @@ -140,11 +140,11 @@ bool IBannerLoader::CopyBeUnicodeToString( std::string& _rDestination, const u16 } -IBannerLoader* CreateBannerLoader(DiscIO::IFileSystem& _rFileSystem) +IBannerLoader* CreateBannerLoader(DiscIO::IFileSystem& _rFileSystem, DiscIO::IVolume *pVolume) { - if (IsVolumeWiiDisc(_rFileSystem.GetVolume())) + if (IsVolumeWiiDisc(pVolume) || IsVolumeWadFile(pVolume)) { - return(new CBannerLoaderWii(_rFileSystem)); + return(new CBannerLoaderWii(pVolume)); } return(new CBannerLoaderGC(_rFileSystem)); |
