summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/MsgHandler.cpp
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-06-08 10:16:08 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-06-08 10:16:08 +0000
commit3b55c26367f4f4460e6b1caf7c86615543801ffd (patch)
tree3fe677dafed8ddbd681979aa8e61e0e1b84fc144 /Source/Core/Common/Src/MsgHandler.cpp
parent538217d436d8b9417fdf9ded3561f24946639d32 (diff)
OpenGL: Changed the AVIDump framebuffer source to the same as for screenshots
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3374 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/MsgHandler.cpp')
-rw-r--r--Source/Core/Common/Src/MsgHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/MsgHandler.cpp b/Source/Core/Common/Src/MsgHandler.cpp
index 2282e76a8d..93ae6f6284 100644
--- a/Source/Core/Common/Src/MsgHandler.cpp
+++ b/Source/Core/Common/Src/MsgHandler.cpp
@@ -41,7 +41,6 @@ void SetEnableAlert(bool enable) {
correct windows is shown */
bool MsgAlert(const char* caption, bool yes_no, int Style, const char* format, ...)
{
-
// Read message and write it to the log
char buffer[2048];
bool ret = true;
@@ -53,7 +52,8 @@ bool MsgAlert(const char* caption, bool yes_no, int Style, const char* format, .
ERROR_LOG(MASTER_LOG, "%s: %s", caption, buffer);
- if (msg_handler && AlertEnabled) {
+ // Don't ignore questions, especially AskYesNo, PanicYesNo could be ignored
+ if (msg_handler && (AlertEnabled || yes_no)) {
ret = msg_handler(caption, buffer, yes_no, Style);
}
return ret;