diff options
| author | LPFaint99 <lpfaint99@gmail.com> | 2010-01-17 03:25:42 +0000 |
|---|---|---|
| committer | LPFaint99 <lpfaint99@gmail.com> | 2010-01-17 03:25:42 +0000 |
| commit | 703cb0bdb8c658b8524cc269d7bf0740623dc7c6 (patch) | |
| tree | 7530761775c9734ab2e26ee88e672d9e7fbdc3e3 /Source/Core/DiscIO | |
| parent | b61b04352e72cc5a55f91f1502aa3efbb2f2632f (diff) | |
Fix for importing / exporting more than one save per launch
SD_IV should not be global, thanks to interdpth as I was only testing with one save before
remove duplicated code from BannerLoaderWii.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4863 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO')
| -rw-r--r-- | Source/Core/DiscIO/Src/BannerLoaderWii.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/DiscIO/Src/BannerLoaderWii.cpp b/Source/Core/DiscIO/Src/BannerLoaderWii.cpp index c495fbff60..9108d5fcd2 100644 --- a/Source/Core/DiscIO/Src/BannerLoaderWii.cpp +++ b/Source/Core/DiscIO/Src/BannerLoaderWii.cpp @@ -36,10 +36,7 @@ CBannerLoaderWii::CBannerLoaderWii(DiscIO::IVolume *pVolume) char Filename[260]; u64 TitleID; - if (DiscIO::IsVolumeWadFile(pVolume)) - pVolume->GetTitleID((u8*)&TitleID); - else - pVolume->RAWRead((u64)0x0F8001DC, 8, (u8*)&TitleID); + pVolume->GetTitleID((u8*)&TitleID); TitleID = Common::swap64(TitleID); |
