From 4743d74985f49fc30f6c44b2192faaa59327fb38 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Thu, 22 Dec 2022 17:33:53 -0600 Subject: Core: add helper function to apply a memory patch and mark the 'PPCPatches' as final --- Source/Core/Common/Debug/MemoryPatches.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/Common/Debug') 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; -- cgit v1.2.3