mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Still didn't quite have the wiimote connection stuff right. This probably needs to be heavily revised.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7232 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -54,7 +54,6 @@ bool MsgAlert(bool yes_no, int Style, const char* format, ...)
|
||||
// Read message and write it to the log
|
||||
std::string caption;
|
||||
char buffer[2048];
|
||||
bool ret = true;
|
||||
|
||||
static std::string info_caption;
|
||||
static std::string warn_caption;
|
||||
@ -88,10 +87,10 @@ bool MsgAlert(bool yes_no, int Style, const char* format, ...)
|
||||
ERROR_LOG(MASTER_LOG, "%s: %s", caption.c_str(), buffer);
|
||||
|
||||
// Don't ignore questions, especially AskYesNo, PanicYesNo could be ignored
|
||||
if (msg_handler && (AlertEnabled || Style == QUESTION)) {
|
||||
ret = msg_handler(caption.c_str(), buffer, yes_no, Style);
|
||||
}
|
||||
return ret;
|
||||
if (msg_handler && (AlertEnabled || Style == QUESTION))
|
||||
return msg_handler(caption.c_str(), buffer, yes_no, Style);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// Default non library depended panic alert
|
||||
|
Reference in New Issue
Block a user