mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2918] [MERGED] Mprotect only over whole pages #3081
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3081
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2918
Author: @mikusp
Created: 5/12/2025
Status: ✅ Merged
Merged: 5/12/2025
Merged by: @squidbus
Base:
main← Head:mprotect_alignment📝 Commits (2)
b929ecfMprotect only over whole pagesf331b5eFix aligned_size error and clang-format.📊 Changes
1 file changed (+7 additions, -3 deletions)
View changed files
📝
src/core/memory.cpp(+7 -3)📄 Description
Resident Evil 2 calls mprotect with address not aligned to the page boundary, causing mprotect(2) to fail. On PS4 it seems mprotect silently aligns the parameters to 16kB pages
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.