patches: disable patches tab for unity games (#425)

## Description of change
To redirect confused users why no one is developing a remote patch
server for PolCho

## Testing
checked spicecfg in working vs non-working games
This commit is contained in:
bicarus-dev
2025-11-17 19:16:19 -08:00
committed by GitHub
parent 4c87078807
commit 750b1fea80
@@ -288,6 +288,12 @@ namespace overlay::windows {
this->reload_local_patches(); this->reload_local_patches();
} }
if (avs::game::DLL_NAME == "kamunity.dll") {
ImGui::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Patches are not supported for Unity-based games.");
ImGui::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Instead, look for downloads of pre-patched DLLs.");
return;
}
// game code info // game code info
std::string identifiers; std::string identifiers;
identifiers += avs::game::get_identifier() + "\n\n"; identifiers += avs::game::get_identifier() + "\n\n";