Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoGui: Return no to yes/no panic alerts. #3241

Merged
merged 1 commit into from Nov 8, 2015

Conversation

phire
Copy link
Member

@phire phire commented Nov 8, 2015

The goal is to make FifoCI fail on fifologs that assert.

@@ -100,7 +100,16 @@ bool DefaultMsgHandler(const char* caption, const char* text, bool yes_no, int S
return IDYES == MessageBox(0, UTF8ToTStr(text).c_str(), UTF8ToTStr(caption).c_str(), STYLE | (yes_no ? MB_YESNO : MB_OK));
#else
printf("%s\n", text);
return true;

if (yes_no)

This comment was marked as off-topic.

This comment was marked as off-topic.

Also, print to stderr instead of stdio.
@dolphin-emu-bot
Copy link
Contributor

FifoCI detected that this change impacts graphical rendering. Here are the behavior differences detected by the system:

automated-fifoci-reporter

@degasus
Copy link
Member

degasus commented Nov 8, 2015

PanicAlerts are used for fatal errors, so LGTM

phire added a commit that referenced this pull request Nov 8, 2015
NoGui: Return no to yes/no panic alerts.
@phire phire merged commit 8b3c2c1 into dolphin-emu:master Nov 8, 2015
@phire phire deleted the nogui-assert branch November 8, 2015 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants