some further Windows startup tweaking

This commit is contained in:
nhmall
2026-04-09 14:04:28 -04:00
parent 699c31459b
commit 335cd65d5a
2 changed files with 26 additions and 12 deletions

View File

@@ -211,6 +211,13 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
free(savefile);
}
GUILaunched = 1;
/* emergency IO */
windowprocs.win_raw_print = mswin_raw_print;
windowprocs.win_raw_print_bold = mswin_raw_print_bold;
mswin_nh_input_init();
windowprocs.win_nhgetch = mswin_nhgetch;
windowprocs.win_wait_synch = mswin_wait_synch;
/* let nethackw_main do the argument processing */
nethackw_main(argc, argv);
/* not reached */