diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2022-12-22 17:33:53 -0600 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2022-12-23 03:13:03 -0600 |
| commit | 4743d74985f49fc30f6c44b2192faaa59327fb38 (patch) | |
| tree | 1cc3621c65abc7136c022dc56fdef20f31c4cc15 /Source/Core/Common/Debug | |
| parent | ce92350140ed4bf918147695a894f609e95452e9 (diff) | |
Core: add helper function to apply a memory patch and mark the 'PPCPatches' as final
Diffstat (limited to 'Source/Core/Common/Debug')
| -rw-r--r-- | Source/Core/Common/Debug/MemoryPatches.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Common/Debug/MemoryPatches.h b/Source/Core/Common/Debug/MemoryPatches.h index abf88b0499..634382f3b3 100644 --- a/Source/Core/Common/Debug/MemoryPatches.h +++ b/Source/Core/Common/Debug/MemoryPatches.h @@ -42,6 +42,7 @@ public: bool HasEnabledPatch(u32 address) const; void RemovePatch(std::size_t index); void ClearPatches(); + virtual void ApplyExistingPatch(std::size_t index) = 0; protected: virtual void Patch(std::size_t index) = 0; |
