diff --git a/src/Features/Upscaling.cpp b/src/Features/Upscaling.cpp index fbd83f8c5f..604f49e986 100644 --- a/src/Features/Upscaling.cpp +++ b/src/Features/Upscaling.cpp @@ -311,7 +311,7 @@ void Upscaling::DrawSettings() if (!d3d12SwapChainActive) ImGui::EndDisabled(); - ImGui::Text("Allows frame generation to function on low refresh rate monitors"); + ImGui::TextWrapped("Allows frame generation to function on low refresh rate monitors. Detected: %.2f Hz", refreshRate); ImGui::SliderInt("Force Enable Frame Generation", (int*)&settings.frameGenerationForceEnable, 0, 1, std::format("{}", toggleModes[settings.frameGenerationForceEnable]).c_str()); ImGui::TreePop(); @@ -1370,7 +1370,7 @@ double Upscaling::GetRefreshRate(HWND a_window) sourceName.header.size = sizeof(sourceName); sourceName.header.adapterId = p.sourceInfo.adapterId; sourceName.header.id = p.sourceInfo.id; - if (DisplayConfigGetDeviceInfo(&sourceName.header) == ERROR_SUCCESS) { + if (DisplayConfigGetDeviceInfo(&sourceName.header) == ERROR_SUCCESS && wcscmp(info.szDevice, sourceName.viewGdiDeviceName) == 0) { // find the matched device which is associated with current device // there may be the possibility that display may be duplicated and windows may be one of them in such scenario // there may be two callback because source is same target will be different