[Patcher] Ensure hash is checked when loading title plugins

Fixes bug where plugin loader would load all defined plugins if at least one was valid
This commit is contained in:
Michael Oliver
2025-02-26 12:33:29 +00:00
committed by Radosław Gliński
parent ac6692fc65
commit 9555e7bde4
3 changed files with 11 additions and 5 deletions

View File

@@ -1526,7 +1526,8 @@ X_STATUS Emulator::CompleteLaunch(const std::filesystem::path& path,
if (cvars::allow_plugins) {
if (plugin_loader_->IsAnyPluginForTitleAvailable(title_id_.value(),
module->hash().value())) {
plugin_loader_->LoadTitlePlugins(title_id_.value());
plugin_loader_->LoadTitlePlugins(title_id_.value(),
module->hash().value());
}
}