diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-11-06 20:41:53 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-11-06 20:41:53 -0500 |
| commit | f6b4b4dbba0663922bbe38ce07ff9679a8eb8c1a (patch) | |
| tree | afa8938bdde3c83d5131bc67b9b54fe8f8924016 /Source/Core/DolphinWX/Main.cpp | |
| parent | d79c794e8ca1fce205281cbeb01b24dd3f98ad5b (diff) | |
| parent | 884ec2ed13bd47c188317a9b91b8af20876d9919 (diff) | |
Merge pull request #1497 from lioncash/host
Host: Kill off Host_SysMessage
Diffstat (limited to 'Source/Core/DolphinWX/Main.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Main.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/Core/DolphinWX/Main.cpp b/Source/Core/DolphinWX/Main.cpp index 3ec002e456..68c850ee89 100644 --- a/Source/Core/DolphinWX/Main.cpp +++ b/Source/Core/DolphinWX/Main.cpp @@ -435,20 +435,6 @@ void DolphinApp::OnFatalException() // ------------ // Talk to GUI -void Host_SysMessage(const char *fmt, ...) -{ - va_list list; - char msg[512]; - - va_start(list, fmt); - vsprintf(msg, fmt, list); - va_end(list); - - if (msg[strlen(msg)-1] == '\n') msg[strlen(msg)-1] = 0; - //wxMessageBox(StrToWxStr(msg)); - PanicAlert("%s", msg); -} - bool wxMsgAlert(const char* caption, const char* text, bool yes_no, int /*Style*/) { #ifdef __WXGTK__ |
