mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
More std::strings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
@@ -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