Skip to content

Commit

Permalink
Qt: Use const patch lists for ContainsPatchName
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-McCarthy committed Nov 26, 2023
1 parent 296ad21 commit 8b956f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pcsx2/Patch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ namespace Patch
static std::vector<std::string> 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 <typename F>
static void EnumeratePnachFiles(const std::string_view& serial, u32 crc, bool cheats, bool for_ui, const F& f);
Expand Down

0 comments on commit 8b956f8

Please sign in to comment.