Qt: Fix revision-specific patches showing in list

It was already filtered in Big Picture Mode.
pull/3417/head
Stenzek 6 months ago
parent 7368047b49
commit cfb24f930d
No known key found for this signature in database

@ -79,7 +79,7 @@ void GamePatchSettingsWidget::disableAllPatches()
void GamePatchSettingsWidget::reloadList() void GamePatchSettingsWidget::reloadList()
{ {
std::vector<Cheats::CodeInfo> patches = 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 = std::vector<std::string> enabled_list =
m_dialog->getSettingsInterface()->GetStringList(Cheats::PATCHES_CONFIG_SECTION, Cheats::PATCH_ENABLE_CONFIG_KEY); m_dialog->getSettingsInterface()->GetStringList(Cheats::PATCHES_CONFIG_SECTION, Cheats::PATCH_ENABLE_CONFIG_KEY);

Loading…
Cancel
Save