mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-02 06:35:42 -04:00
Merge pull request #1859 from ggrtk/fix-loadstate-message
System: Fix message crash for missing CD image
This commit is contained in:
commit
a3b0f7b2dd
@ -1234,9 +1234,8 @@ bool DoLoadState(ByteStream* state, bool force_software_renderer, bool update_di
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_host_interface->ReportFormattedError(
|
g_host_interface->ReportFormattedError(
|
||||||
g_host_interface->TranslateString("System", "Failed to open CD image from save state '%s': %s.",
|
g_host_interface->TranslateString("System", "Failed to open CD image '%s' used by save state: %s."),
|
||||||
error.GetCodeAndMessage().GetCharArray()),
|
media_filename.c_str(), error.GetCodeAndMessage().GetCharArray());
|
||||||
media_filename.c_str());
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user