mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
NoGui: Return no to yes/no panic alerts.
Also, print to stderr instead of stdio.
This commit is contained in:
parent
973118511a
commit
2d38a59044
@ -99,8 +99,10 @@ 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;
|
||||
fprintf(stderr, "%s\n", text);
|
||||
|
||||
// Return no to any question (which will in general crash the emulator)
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user