diff --git a/Source/Core/Core/PatchEngine.cpp b/Source/Core/Core/PatchEngine.cpp index 67f2b4a3d9..a525e67261 100644 --- a/Source/Core/Core/PatchEngine.cpp +++ b/Source/Core/Core/PatchEngine.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include #include @@ -262,7 +263,7 @@ static void ApplyPatches(const std::vector& patches) } } -static void ApplyMemoryPatches(const std::vector& memory_patch_indices) +static void ApplyMemoryPatches(std::span memory_patch_indices) { std::lock_guard lock(s_on_frame_memory_mutex); for (std::size_t index : memory_patch_indices)