Some segmentation trap changes from latest main_unix.cpp

This commit is contained in:
nigel 2003-08-02 11:03:15 +00:00
parent 786072d3a6
commit 75f84b51ce

View File

@ -214,10 +214,10 @@ bool InitEmulator (void)
char str[256];
// Register request to ignore segmentation faults
// Register request to ignore all segmentation faults
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
if (PrefsFindBool("ignoresegv"))
sigsegv_set_ignore_state(true);
sigsegv_set_ignore_state(0, ~(0UL), SIGSEGV_TRANSFER_LOAD | SIGSEGV_TRANSFER_STORE);
#endif
// Register dump state function when we got mad after a segfault