# | Line 715 | Line 715 | static sigsegv_return_t sigsegv_handler( | |
---|---|---|
715 | else if (pc == ROM_BASE + 0x4a10a0 && (cpu->gpr(20) == 0xf3012002 || cpu->gpr(20) == 0xf3012000)) | |
716 | return SIGSEGV_RETURN_SKIP_INSTRUCTION; | |
717 | ||
718 | + | // Ignore writes to the zero page |
719 | + | else if ((uint32)(addr - SheepMem::ZeroPage()) < (uint32)SheepMem::PageSize()) |
720 | + | return SIGSEGV_RETURN_SKIP_INSTRUCTION; |
721 | + | |
722 | // Ignore all other faults, if requested | |
723 | if (PrefsFindBool("ignoresegv")) | |
724 | return SIGSEGV_RETURN_SKIP_INSTRUCTION; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |