MessageBox: Changed Host_SysMessage to a PanicAlert to be able to ignore 'GFX: Unknown Opcode' error messages

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3329 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-06-04 22:23:30 +00:00
parent eca5537a1c
commit 004dfffff0

View File

@ -460,6 +460,7 @@ void Host_UpdateGUI()
}
#endif
// g_VideoInitialize.pSysMessage() goes here
void Host_SysMessage(const char *fmt, ...)
{
va_list list;
@ -470,7 +471,8 @@ void Host_SysMessage(const char *fmt, ...)
va_end(list);
if (msg[strlen(msg)-1] == '\n') msg[strlen(msg)-1] = 0;
wxMessageBox(wxString::FromAscii(msg));
//wxMessageBox(wxString::FromAscii(msg));
PanicAlert("%s", msg);
}
void Host_SetWiiMoteConnectionState(int _State)