mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-14 02:11:58 -04:00
add some cheks and error reporting, enable catch SEH in windows
This commit is contained in:
parent
8faba63219
commit
c9d0e86344
8 changed files with 88 additions and 34 deletions
|
@ -996,7 +996,8 @@ void init_skeldal(const INI_CONFIG *cfg)
|
|||
char verr = game_display_init(ini_section_open(cfg, "video"), "Skeldal");
|
||||
if (!verr)
|
||||
{
|
||||
exit(1);
|
||||
display_error("Error game_display_init %d", verr);
|
||||
exit(1);
|
||||
}
|
||||
showview = game_display_update_rect;
|
||||
game_display_set_icon(getWindowIcon(), getWindowIconSize());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue