-
Notifications
You must be signed in to change notification settings - Fork 82
[GEN][ZH] Make Debug MessageBoxWrapper show message box before game window creation #1000
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
base: main
Are you sure you want to change the base?
[GEN][ZH] Make Debug MessageBoxWrapper show message box before game window creation #1000
Conversation
Is this problematic with headless mode? |
The opening text says "For the initialization of static / global variables, it may be preferable to get a clear alert in the form of the message box instead of a quiet log entry." But isn't this what this change touches? Why is describes as may be preferable if it is actually changed? |
@@ -422,8 +419,10 @@ void DebugLog(const char *format, ...) | |||
ScopedCriticalSection scopedCriticalSection(TheDebugLogCriticalSection); | |||
#endif | |||
|
|||
#ifdef DEBUG_LOGGING |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This #ifdef looks redundant. The whole function already is in the same #ifdef condition.
I think this change can be finalized. |
Needs rebasing with main and updating |
Calls to
DEBUG_ASSERTCRASH
may go unnoticed prior to the creation of any game window. There's no message box if the game window isn't created yet. For the initialization of static / global variables, it may be preferable to get a clear alert in the form of the message box instead of a quiet log entry.