Print message when save state loading fails.

This commit is contained in:
Jean-Philip Desjardins 2022-11-28 12:16:57 -05:00
parent 605958894a
commit d44dc8ee45

View file

@ -474,8 +474,9 @@ bool CPS2VM::SaveVMState(const fs::path& statePath)
archive.Write(stateStream); archive.Write(stateStream);
} }
catch(...) catch(const std::exception& ex)
{ {
printf("Failed to save state: %s\r\n", ex.what());
return false; return false;
} }