mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-18 17:31:08 +00:00
Some segmentation trap changes from latest main_unix.cpp
This commit is contained in:
parent
786072d3a6
commit
75f84b51ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user