mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-19 14:11:15 +00:00
Uninline debug_register_func
This commit is contained in:
parent
a7628ccaea
commit
90d1545bb2
10
src/debug.cc
10
src/debug.cc
@ -104,14 +104,8 @@ void _debug_register_env()
|
||||
// NOTE: Uninline.
|
||||
_debug_register_screen();
|
||||
} else if (strcmp(copy, "gnw") == 0) {
|
||||
if (gDebugPrintProc != _win_debug) {
|
||||
if (_fd != NULL) {
|
||||
fclose(_fd);
|
||||
_fd = NULL;
|
||||
}
|
||||
|
||||
gDebugPrintProc = _win_debug;
|
||||
}
|
||||
// NOTE: Uninline.
|
||||
_debug_register_func(_win_debug);
|
||||
}
|
||||
|
||||
internal_free(copy);
|
||||
|
Loading…
Reference in New Issue
Block a user