1
0
mirror of https://github.com/kanjitalk755/macemu.git synced 2024-12-23 04:30:10 +00:00

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]; char str[256];
// Register request to ignore segmentation faults // Register request to ignore all segmentation faults
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
if (PrefsFindBool("ignoresegv")) if (PrefsFindBool("ignoresegv"))
sigsegv_set_ignore_state(true); sigsegv_set_ignore_state(0, ~(0UL), SIGSEGV_TRANSFER_LOAD | SIGSEGV_TRANSFER_STORE);
#endif #endif
// Register dump state function when we got mad after a segfault // Register dump state function when we got mad after a segfault