Merge pull request #2307 from lioncash/crash

Core: Don't display on-screen messages via DisplayMessage until emulation has begun
This commit is contained in:
Matthew Parlane 2015-04-21 11:08:07 +12:00
commit b0db4f53cc

View File

@ -140,6 +140,9 @@ std::string StopMessage(bool bMainThread, std::string Message)
void DisplayMessage(const std::string& message, int time_in_ms)
{
if (!IsRunning())
return;
// Actually displaying non-ASCII could cause things to go pear-shaped
for (const char& c : message)
{