[PR #2323] [MERGED] Cheats/Patches: Fix Mask Offset #2652

Closed
opened 2026-02-27 22:00:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2323
Author: @DanielSvoboda
Created: 2/1/2025
Status: Merged
Merged: 2/3/2025
Merged by: @georgemoralis

Base: mainHead: patch-1


📝 Commits (1)

  • ff7b6c9 Cheats/Patches: Fix Mask Offset

📊 Changes

1 file changed (+4 additions, -3 deletions)

View changed files

📝 src/common/memory_patcher.cpp (+4 -3)

📄 Description

This will allow patches that use an offset other than 0 in mask to work.
Example:
image
There aren't many games working yet to test this, but I managed to activate a 60 fps path that didn't work before.
image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2323 **Author:** [@DanielSvoboda](https://github.com/DanielSvoboda) **Created:** 2/1/2025 **Status:** ✅ Merged **Merged:** 2/3/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`ff7b6c9`](https://github.com/shadps4-emu/shadPS4/commit/ff7b6c94fd1cac7ba9be4972820d5a68c1fbbffe) Cheats/Patches: Fix Mask Offset ### 📊 Changes **1 file changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/common/memory_patcher.cpp` (+4 -3) </details> ### 📄 Description This will allow patches that use an `offset` other than `0` in `mask` to work. Example: ![image](https://github.com/user-attachments/assets/3518e72a-17aa-4c7d-8ed3-57cf708d2a37) There aren't many games working yet to test this, but I managed to activate a 60 fps path that didn't work before. ![image](https://github.com/user-attachments/assets/29807c03-58da-4832-a8e4-a5cef802b3b4) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:00:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2652
No description provided.