# | Line 214 | Line 214 | bool InitEmulator (void) | |
---|---|---|
214 | char str[256]; | |
215 | ||
216 | ||
217 | < | // Register request to ignore segmentation faults |
217 | > | // Register request to ignore all segmentation faults |
218 | #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION | |
219 | if (PrefsFindBool("ignoresegv")) | |
220 | < | sigsegv_set_ignore_state(true); |
220 | > | sigsegv_set_ignore_state(0, ~(0UL), SIGSEGV_TRANSFER_LOAD | SIGSEGV_TRANSFER_STORE); |
221 | #endif | |
222 | ||
223 | // Register dump state function when we got mad after a segfault |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |