mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Eliminate the wstring game name.
Some cleanup throughout related code. (try to make logic in ISOFile understandable by a human) Encode strings in UTF-8 rather than somehow trying to determine the encoding in the GUI code. Non-windows OSes temporarily broken.
This commit is contained in:
@ -91,16 +91,15 @@ std::string CVolumeGC::GetMakerID() const
|
||||
return makerID;
|
||||
}
|
||||
|
||||
std::string CVolumeGC::GetName() const
|
||||
std::vector<std::string> CVolumeGC::GetNames() const
|
||||
{
|
||||
if (m_pReader == NULL)
|
||||
return "";
|
||||
std::vector<std::string> names;
|
||||
|
||||
char name[128];
|
||||
if (!Read(0x20, 0x60, (u8*)&name))
|
||||
return "";
|
||||
char name[128] = {};
|
||||
if (m_pReader != NULL && Read(0x20, 0x60, (u8*)&name))
|
||||
names.push_back(name);
|
||||
|
||||
return name;
|
||||
return names;
|
||||
}
|
||||
|
||||
u32 CVolumeGC::GetFSTSize() const
|
||||
|
Reference in New Issue
Block a user