mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
1.25.0.2 Fixed: F12 Snapshot_LoadState() -> Snapshot_SetFilename() not keeping trailing backslash on path
This commit is contained in:
@@ -74,7 +74,7 @@ void Snapshot_SetFilename(std::string strPathname)
|
||||
if (nIdx >= 0 && nIdx+1 < (int)strPathname.length())
|
||||
{
|
||||
strFilename = &strPathname[nIdx+1];
|
||||
g_strSaveStatePath = strPathname.substr(0, nIdx);
|
||||
g_strSaveStatePath = strPathname.substr(0, nIdx+1); // Bugfix: 1.25.0.2 // Snapshot_LoadState() -> SetCurrentImageDir() -> g_sCurrentDir
|
||||
}
|
||||
|
||||
g_strSaveStateFilename = strFilename;
|
||||
|
||||
Reference in New Issue
Block a user