summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO
diff options
context:
space:
mode:
authorLPFaint99 <lpfaint99@gmail.com>2010-01-14 07:19:10 +0000
committerLPFaint99 <lpfaint99@gmail.com>2010-01-14 07:19:10 +0000
commitb186f0821eb6120c395e8ebd4eba1b6835936dbc (patch)
treec1ff64c5946bcb28fabaf558f45f2916963fd5e6 /Source/Core/DiscIO
parent2db709aeb683a65744284b7570826e50dcc4adf6 (diff)
Adds experimental data.bin export of wii saves,
use at your own risk as it has been tested only to the point that a real wii recognizes the save on an sd card Please post test results here or on issue 1945 removed the automated backup when importing from a save.bin fixed display of pokemon titles in memcardmanager git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4829 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO')
-rw-r--r--Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp5
-rw-r--r--Source/Core/DiscIO/Src/VolumeWiiCrypted.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp b/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp
index fc7d57e565..935f101021 100644
--- a/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp
+++ b/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp
@@ -98,6 +98,11 @@ bool CVolumeWiiCrypted::Read(u64 _ReadOffset, u64 _Length, u8* _pBuffer) const
return(true);
}
+bool CVolumeWiiCrypted::GetTitleID(u8* _pBuffer) const
+{
+ return RAWRead((u64)0x0F8001DC, 8, _pBuffer);
+}
+
std::string CVolumeWiiCrypted::GetUniqueID() const
{
if (m_pReader == NULL)
diff --git a/Source/Core/DiscIO/Src/VolumeWiiCrypted.h b/Source/Core/DiscIO/Src/VolumeWiiCrypted.h
index af17eb0203..e6a93e855a 100644
--- a/Source/Core/DiscIO/Src/VolumeWiiCrypted.h
+++ b/Source/Core/DiscIO/Src/VolumeWiiCrypted.h
@@ -33,6 +33,7 @@ public:
~CVolumeWiiCrypted();
bool Read(u64 _Offset, u64 _Length, u8* _pBuffer) const;
bool RAWRead(u64 _Offset, u64 _Length, u8* _pBuffer) const;
+ bool GetTitleID(u8* _pBuffer) const;
std::string GetUniqueID() const;
std::string GetMakerID() const;
std::string GetName() const;