mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-22 22:58:12 +03:00
Windows: Allocate a console for -texthook print
This commit is contained in:
@@ -137,7 +137,8 @@ void NACT::text_dialog()
|
||||
void NACT::platform_initialize()
|
||||
{
|
||||
init_menu(mouse_move_enabled, config);
|
||||
if (config.debugger_mode == DebuggerMode::CLI || (config.trace && config.debugger_mode != DebuggerMode::DAP))
|
||||
if (config.debugger_mode == DebuggerMode::CLI ||
|
||||
((config.trace || config.texthook_mode == TexthookMode::PRINT) && config.debugger_mode != DebuggerMode::DAP))
|
||||
init_console(game_id.sys_ver);
|
||||
SDL_EventState(SDL_SYSWMEVENT, SDL_ENABLE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user