mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Core: Don't display on-screen messages via DisplayMessage until emulation has begun
This commit is contained in:
parent
d27b8673f5
commit
d799446faf
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue