Move some "char *"to "const char *", and avoid unnecessary c_str(). (PR #973)

This commit is contained in:
Andrea
2021-07-25 11:55:25 +01:00
committed by GitHub
parent 71bea52419
commit 4375418506
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -859,7 +859,7 @@ static bool HD_LoadSnapshotHDDUnit(YamlLoadHelper& yamlLoadHelper, UINT unit)
return bResSelectImage;
}
bool HD_LoadSnapshot(YamlLoadHelper& yamlLoadHelper, UINT slot, UINT version, const std::string strSaveStatePath)
bool HD_LoadSnapshot(YamlLoadHelper& yamlLoadHelper, UINT slot, UINT version, const std::string & strSaveStatePath)
{
if (slot != 7) // fixme
throw std::string("Card: wrong slot");