diff --git a/pcsx2/Patch.cpp b/pcsx2/Patch.cpp index 091ee9f15f..293f4fc43d 100644 --- a/pcsx2/Patch.cpp +++ b/pcsx2/Patch.cpp @@ -158,8 +158,8 @@ namespace Patch static std::vector FindPatchFilesOnDisk( const std::string_view& serial, u32 crc, bool cheats, bool all_crcs); - static bool ContainsPatchName(PatchInfoList& patches, const std::string_view& patchName); - static bool ContainsPatchName(PatchList& patches, const std::string_view& patchName); + static bool ContainsPatchName(const PatchInfoList& patches, const std::string_view& patchName); + static bool ContainsPatchName(const PatchList& patches, const std::string_view& patchName); template static void EnumeratePnachFiles(const std::string_view& serial, u32 crc, bool cheats, bool for_ui, const F& f);