MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / UpdateConfig

Method UpdateConfig

IntelPresentMon/Core/source/kernel/InjectorComplex.cpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 return (bool)pInjector32_;
35 }
36 void InjectorComplex::UpdateConfig(const GfxLayer::Extension::OverlayConfig& cfg)
37 {
38 std::lock_guard lk{ mtx_ };
39 if (IsActive(false)) {
40 pInjector32_->UpdateConfig(cfg);
41 pInjector64_->UpdateConfig(cfg);
42 }
43 }
44 void InjectorComplex::ChangeTarget(std::optional<std::string> targetModuleName)
45 {
46 std::lock_guard lk{ mtx_ };

Callers 1

UpdateInjectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected