Merge pull request #1497 from lioncash/host

Host: Kill off Host_SysMessage
This commit is contained in:
Lioncash
2014-11-06 20:41:53 -05:00
9 changed files with 34 additions and 97 deletions

View File

@ -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__