mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 15:17:50 +00:00
Merge branch 'strings' of ssh://github.com/audetto/AppleWin into audetto-strings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user