mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
Core: Don't display on-screen messages via DisplayMessage until emulation has begun
This commit is contained in:
parent
d27b8673f5
commit
d799446faf
@ -140,6 +140,9 @@ std::string StopMessage(bool bMainThread, std::string Message)
|
|||||||
|
|
||||||
void DisplayMessage(const std::string& message, int time_in_ms)
|
void DisplayMessage(const std::string& message, int time_in_ms)
|
||||||
{
|
{
|
||||||
|
if (!IsRunning())
|
||||||
|
return;
|
||||||
|
|
||||||
// Actually displaying non-ASCII could cause things to go pear-shaped
|
// Actually displaying non-ASCII could cause things to go pear-shaped
|
||||||
for (const char& c : message)
|
for (const char& c : message)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user