mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Kill off some usages of c_str.
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
This commit is contained in:
@ -34,7 +34,7 @@ private:
|
||||
|
||||
WiiWAD::WiiWAD(const std::string& _rName)
|
||||
{
|
||||
DiscIO::IBlobReader* pReader = DiscIO::CreateBlobReader(_rName.c_str());
|
||||
DiscIO::IBlobReader* pReader = DiscIO::CreateBlobReader(_rName);
|
||||
if (pReader == nullptr || File::IsDirectory(_rName))
|
||||
{
|
||||
m_Valid = false;
|
||||
@ -120,7 +120,7 @@ bool WiiWAD::ParseWAD(DiscIO::IBlobReader& _rReader)
|
||||
|
||||
bool WiiWAD::IsWiiWAD(const std::string& _rName)
|
||||
{
|
||||
DiscIO::IBlobReader* pReader = DiscIO::CreateBlobReader(_rName.c_str());
|
||||
DiscIO::IBlobReader* pReader = DiscIO::CreateBlobReader(_rName);
|
||||
if (pReader == nullptr)
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user