Fix overlay saying DLSSG when a replacement was used

This commit is contained in:
FakeMichau
2026-08-15 00:36:02 +02:00
parent da2b4286f4
commit fa58d6b0e1
+5 -5
View File
@@ -1767,11 +1767,7 @@ void MenuCommon::RenderPerformanceOverlay(RenderMenuContext& ctx)
};
const FGNvngxReplacement activeNvngxFg = state.activeFgNvngx;
if (state.activeFgOutput == FGOutput::DLSSG)
{
fgText = formatFg("DLSSG", state.dlssgMaxInterpolationCount);
}
else if (activeNvngxFg == FGNvngxReplacement::Arturs)
if (activeNvngxFg == FGNvngxReplacement::Arturs)
{
fgText = formatFg("Enabler", Nvngx_FG::getMaxFakeFramesCount());
}
@@ -1787,6 +1783,10 @@ void MenuCommon::RenderPerformanceOverlay(RenderMenuContext& ctx)
{
fgText = formatFg("Combo", Nvngx_FG::getMaxFakeFramesCount());
}
else if (state.activeFgOutput == FGOutput::DLSSG)
{
fgText = formatFg("DLSSG", state.dlssgMaxInterpolationCount);
}
const auto overlayType = config->FpsOverlayType.value_or_default();
const bool hasFeature = currentFeature && !currentFeature->IsFrozen();