mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-11-15 10:39:50 +01:00
Merge pull request #4286 from shuffle2/Aestek-clean-osd
Clean OSD messages code
This commit is contained in:
commit
5c0fa4db4f
7 files changed
+132
-145
No files matched your search
@@ -172,13 +172,6 @@ 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)
|
||||
{
|
||||
if (!std::isprint(c))
|
||||
return;
|
||||
}
|
||||
|
||||
OSD::AddMessage(message, time_in_ms);
|
||||
Host_UpdateTitle(message);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user