mirror of https://github.com/PCSX2/pcsx2.git
Plugin-Function: Add OSD for incomplete/corrupt savestates
Previously, the OSD neglected to mention any sort of message when the savestate load is failed, the following patch now also prints a message on OSD when detecting such cases of loading an incomplete/corrupt savestate.
This commit is contained in:
parent
489a89ae8b
commit
8f02052232
|
@ -732,6 +732,7 @@ wxString Exception::SaveStateLoadError::FormatDiagnosticMessage() const
|
|||
{
|
||||
FastFormatUnicode retval;
|
||||
retval.Write("Savestate is corrupt or incomplete!\n");
|
||||
OSDlog(Color_Red, false, "Error: Savestate is corrupt or incomplete!");
|
||||
_formatDiagMsg(retval);
|
||||
return retval;
|
||||
}
|
||||
|
@ -741,6 +742,7 @@ wxString Exception::SaveStateLoadError::FormatDisplayMessage() const
|
|||
FastFormatUnicode retval;
|
||||
retval.Write(_("The savestate cannot be loaded, as it appears to be corrupt or incomplete."));
|
||||
retval.Write("\n");
|
||||
OSDlog(Color_Red, false, "Error: The savestate cannot be loaded, as it appears to be corrupt or incomplete.");
|
||||
_formatUserMsg(retval);
|
||||
return retval;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue