mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-20 01:15:08 -05:00
Fix more of what I broke.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user