Core: add helper function to apply a memory patch and mark the 'PPCPatches' as final

This commit is contained in:
iwubcode
2022-12-22 17:33:53 -06:00
parent ce92350140
commit 4743d74985
4 changed files with 27 additions and 3 deletions

View File

@ -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;