mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00: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:
parent
dccc6d8b47
commit
a82675b7d5
170 changed files with 812 additions and 704 deletions
|
@ -74,7 +74,7 @@ EDiscType GetDiscType(IBlobReader& _rReader);
|
|||
|
||||
IVolume* CreateVolumeFromFilename(const std::string& _rFilename, u32 _PartitionGroup, u32 _VolumeNum)
|
||||
{
|
||||
IBlobReader* pReader = CreateBlobReader(_rFilename.c_str());
|
||||
IBlobReader* pReader = CreateBlobReader(_rFilename);
|
||||
if (pReader == nullptr)
|
||||
return nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue