Qt: Fix revision-specific patches showing in list

It was already filtered in Big Picture Mode.
This commit is contained in:
Stenzek 2025-05-16 19:20:24 +10:00
parent 7368047b49
commit cfb24f930d
No known key found for this signature in database

View File

@ -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);