mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
Pass strings by const reference where possible
This commit is contained in:
parent
6ff3fcee59
commit
ac26f8e79f
21 changed files with 32 additions and 32 deletions
|
@ -439,7 +439,7 @@ void cUIDsys::GetTitleIDs(std::vector<u64>& _TitleIDs, bool _owned)
|
|||
}
|
||||
}
|
||||
|
||||
u64 CNANDContentManager::Install_WiiWAD(std::string &fileName)
|
||||
u64 CNANDContentManager::Install_WiiWAD(const std::string& fileName)
|
||||
{
|
||||
if (fileName.find(".wad") == std::string::npos)
|
||||
return 0;
|
||||
|
|
|
@ -69,7 +69,7 @@ class CNANDContentManager
|
|||
{
|
||||
public:
|
||||
static CNANDContentManager& Access() { static CNANDContentManager instance; return instance; }
|
||||
u64 Install_WiiWAD(std::string &fileName);
|
||||
u64 Install_WiiWAD(const std::string& fileName);
|
||||
|
||||
const INANDContentLoader& GetNANDLoader(const std::string& _rName, bool forceReload = false);
|
||||
const INANDContentLoader& GetNANDLoader(u64 _titleId, bool forceReload = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue