Qt: Fix revision-specific patches showing in list

It was already filtered in Big Picture Mode.
This commit is contained in:
Stenzek committed 2025-05-16 19:20:26 +10:00
1 parent 7368047b49
commit cfb24f930d
1 file changed
+1 -1
@@ -79,7 +79,7 @@ void GamePatchSettingsWidget::disableAllPatches()
void GamePatchSettingsWidget::reloadList()
{
std::vector<Cheats::CodeInfo> patches =
Cheats::GetCodeInfoList(m_dialog->getGameSerial(), std::nullopt, false, true, true);
Cheats::GetCodeInfoList(m_dialog->getGameSerial(), m_dialog->getGameHash(), false, true, true);
std::vector<std::string> enabled_list =
m_dialog->getSettingsInterface()->GetStringList(Cheats::PATCHES_CONFIG_SECTION, Cheats::PATCH_ENABLE_CONFIG_KEY);