Don't apply to libs

This commit is contained in:
Luminyx 2026-02-07 01:39:40 -05:00
parent 1631e1110d
commit fb2e8c1c1d
No known key found for this signature in database
GPG Key ID: C590EEF718016830

View File

@ -136,6 +136,12 @@ void GraphicPack2::LoadPatchFiles()
void GraphicPack2::EnablePatches()
{
std::lock_guard<std::recursive_mutex> lock(mtx_patches);
if (m_universal) // universal gp only applies to the rpx
{
ApplyPatchesForModule(list_modules[0]);
return;
}
for (auto& itr : list_modules)
ApplyPatchesForModule(itr);
}