mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
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:
parent
eca5537a1c
commit
004dfffff0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user