diff --git a/src/core/game_list.cpp b/src/core/game_list.cpp index f62623f2f..3538f4ae6 100644 --- a/src/core/game_list.cpp +++ b/src/core/game_list.cpp @@ -1007,25 +1007,6 @@ const GameList::Entry* GameList::GetEntryBySerial(std::string_view serial) return fallback_entry; } -const GameList::Entry* GameList::GetEntryBySerialAndHash(std::string_view serial, u64 hash) -{ - const Entry* fallback_entry = nullptr; - - for (const Entry& entry : s_state.entries) - { - if (!entry.IsDiscSet() && entry.serial == serial && entry.hash == hash) - { - // prefer actual discs - if (!entry.IsDisc()) - fallback_entry = fallback_entry ? fallback_entry : &entry; - else - return &entry; - } - } - - return nullptr; -} - std::vector GameList::GetDiscSetMembers(const GameDatabase::DiscSetEntry* dsentry, bool sort_by_most_recent) { diff --git a/src/core/game_list.h b/src/core/game_list.h index ea6367f1a..72201b815 100644 --- a/src/core/game_list.h +++ b/src/core/game_list.h @@ -109,7 +109,6 @@ std::span GetEntries(); const Entry* GetEntryByIndex(size_t index); const Entry* GetEntryForPath(std::string_view path); const Entry* GetEntryBySerial(std::string_view serial); -const Entry* GetEntryBySerialAndHash(std::string_view serial, u64 hash); std::vector GetDiscSetMembers(const GameDatabase::DiscSetEntry* dsentry, bool sort_by_most_recent = false); const Entry* GetFirstDiscSetMember(const GameDatabase::DiscSetEntry* dsentry);