Merge branch 'strings' of ssh://github.com/audetto/AppleWin into audetto-strings

This commit is contained in:
tomcw
2019-09-15 20:45:05 +01:00
36 changed files with 317 additions and 348 deletions
+5 -5
View File
@@ -74,7 +74,7 @@ static YamlHelper yamlHelper;
//-----------------------------------------------------------------------------
void Snapshot_SetFilename(std::string strPathname)
void Snapshot_SetFilename(const std::string & strPathname)
{
if (strPathname.empty())
{
@@ -104,14 +104,14 @@ void Snapshot_SetFilename(std::string strPathname)
g_strSaveStatePathname = strPathname;
}
const char* Snapshot_GetFilename()
const std::string & Snapshot_GetFilename()
{
return g_strSaveStateFilename.c_str();
return g_strSaveStateFilename;
}
const char* Snapshot_GetPath()
const std::string & Snapshot_GetPath()
{
return g_strSaveStatePath.c_str();
return g_strSaveStatePath;
}
//-----------------------------------------------------------------------------