[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:
committed by
Radosław Gliński
parent
ac6692fc65
commit
9555e7bde4
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user