mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 15:17:50 +00:00
Move some "char *"to "const char *", and avoid unnecessary c_str(). (PR #973)
This commit is contained in:
+1
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user