[PR #3763] [MERGED] Fix patches being applied multiple times redundantly #3702

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3763
Author: @kalaposfos13
Created: 11/1/2025
Status: Merged
Merged: 11/1/2025
Merged by: @georgemoralis

Base: mainHead: fix-patches


📝 Commits (1)

  • fa31d7f Fix patches being applied multiple times redundantly

📊 Changes

1 file changed (+32 additions, -41 deletions)

View changed files

📝 src/common/memory_patcher.cpp (+32 -41)

📄 Description

This PR removes the unnecessary double iteration over the list of patches, which caused N patches to be applied N^2 times.


🔄 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/3763 **Author:** [@kalaposfos13](https://github.com/kalaposfos13) **Created:** 11/1/2025 **Status:** ✅ Merged **Merged:** 11/1/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `fix-patches` --- ### 📝 Commits (1) - [`fa31d7f`](https://github.com/shadps4-emu/shadPS4/commit/fa31d7f754e65547ce294fd6a7af7a3635d44289) Fix patches being applied multiple times redundantly ### 📊 Changes **1 file changed** (+32 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `src/common/memory_patcher.cpp` (+32 -41) </details> ### 📄 Description This PR removes the unnecessary double iteration over the list of patches, which caused N patches to be applied N^2 times. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:04:41 +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#3702
No description provided.