mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Fix more of what I broke.
This commit is contained in:
parent
b1a2915304
commit
c07b8a6e37
8 changed files with 97 additions and 61 deletions
|
@ -16,6 +16,7 @@
|
|||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
#include "VolumeWiiCrypted.h"
|
||||
#include "VolumeGC.h"
|
||||
#include "StringUtil.h"
|
||||
#include "Crypto/sha1.h"
|
||||
|
||||
|
@ -171,12 +172,12 @@ std::string CVolumeWiiCrypted::GetMakerID() const
|
|||
std::vector<std::string> CVolumeWiiCrypted::GetNames() const
|
||||
{
|
||||
std::vector<std::string> names;
|
||||
|
||||
auto const string_decoder = CVolumeGC::GetStringDecoder(GetCountry());
|
||||
|
||||
char name[0xFF] = {};
|
||||
if (m_pReader != NULL && Read(0x20, 0x60, (u8*)&name))
|
||||
{
|
||||
names.push_back(name);
|
||||
}
|
||||
names.push_back(string_decoder(name));
|
||||
|
||||
return names;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue