Synchronize Linux build. (PR #1037)

. remove OutputDebugStringA()
. push changes to StdAfx.h
. mention g_strSaveStatePathname in the error message for loading save-state
This commit is contained in:
Andrea
2022-02-14 20:37:18 +00:00
committed by GitHub
parent 9a3832084a
commit 48dd638d33
8 changed files with 32 additions and 10 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ static void Snapshot_LoadState_v2(void)
try
{
if (!yamlHelper.InitParser( g_strSaveStatePathname.c_str() ))
throw std::runtime_error("Failed to initialize parser or open file");
throw std::runtime_error("Failed to initialize parser or open file: " + g_strSaveStatePathname);
if (ParseFileHdr() != SS_FILE_VER)
throw std::runtime_error("Version mismatch");