1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

remove ignore_exceptions setting

This commit is contained in:
FunkyFr3sh 2024-09-25 16:47:12 +02:00
parent 80b8a996a7
commit 577f473327
3 changed files with 1 additions and 9 deletions

View File

@ -64,7 +64,6 @@ typedef struct CNCDDRAWCONFIG
BOOL fix_alt_key_stuck; BOOL fix_alt_key_stuck;
BOOL fix_not_responding; BOOL fix_not_responding;
BOOL no_compat_warning; BOOL no_compat_warning;
BOOL ignore_exceptions;
BOOL wine_allow_resize; BOOL wine_allow_resize;
int guard_lines; int guard_lines;
int max_resolutions; int max_resolutions;

View File

@ -77,7 +77,6 @@ void cfg_load()
GET_BOOL(GameHandlesClose, "game_handles_close", FALSE); GET_BOOL(GameHandlesClose, "game_handles_close", FALSE);
GET_BOOL(g_config.fix_not_responding, "fix_not_responding", FALSE); GET_BOOL(g_config.fix_not_responding, "fix_not_responding", FALSE);
GET_BOOL(g_config.no_compat_warning, "no_compat_warning", FALSE); GET_BOOL(g_config.no_compat_warning, "no_compat_warning", FALSE);
GET_BOOL(g_config.ignore_exceptions, "ignore_exceptions", FALSE);
GET_BOOL(g_config.wine_allow_resize, "wine_allow_resize", FALSE); GET_BOOL(g_config.wine_allow_resize, "wine_allow_resize", FALSE);
GET_INT(g_config.guard_lines, "guard_lines", 200); GET_INT(g_config.guard_lines, "guard_lines", 200);
GET_INT(g_config.max_resolutions, "max_resolutions", 0); GET_INT(g_config.max_resolutions, "max_resolutions", 0);
@ -310,7 +309,6 @@ static void cfg_create_ini()
"game_handles_close=false\n" "game_handles_close=false\n"
"fix_not_responding=false\n" "fix_not_responding=false\n"
"no_compat_warning=false\n" "no_compat_warning=false\n"
"ignore_exceptions=false\n"
"wine_allow_resize=false\n" "wine_allow_resize=false\n"
"guard_lines=200\n" "guard_lines=200\n"
"max_resolutions=0\n" "max_resolutions=0\n"

View File

@ -46,12 +46,7 @@ BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
#endif #endif
cfg_load(); cfg_load();
g_dbg_exception_handle = AddVectoredExceptionHandler(1, (PVECTORED_EXCEPTION_HANDLER)dbg_vectored_exception_handler);
if (g_config.ignore_exceptions)
{
g_dbg_exception_handle =
AddVectoredExceptionHandler(1, (PVECTORED_EXCEPTION_HANDLER)dbg_vectored_exception_handler);
}
char buf[1024]; char buf[1024];