diff --git a/StyxBladesOfGreed/dllmain.cpp b/StyxBladesOfGreed/dllmain.cpp index b259eca..e451da8 100644 --- a/StyxBladesOfGreed/dllmain.cpp +++ b/StyxBladesOfGreed/dllmain.cpp @@ -327,10 +327,10 @@ static void on_overlay_draw(reshade::api::effect_runtime* runtime) { // Fix status if (ImGui::CollapsingHeader("Fix informations", ImGuiTreeNodeFlags_DefaultOpen)) { - ImGui::Text("Screen width: %d, height: %d, aspect ratio: %.2f", screenWidth, screenHeight, aspectRatio); if (GetGameInfos) { GameInfos infos{}; GetGameInfos(&infos); + ImGui::Text("Screen width: %d, height: %d, aspect ratio: %.2f", infos.screenWidth, infos.screenHeight, infos.aspectRatio); if (infos.consoleEnabled) ImGui::Text("Console enabled and bound to key F2"); ImGui::TextColored(ImColor(48, 179, 25), "FOV In: %.2f, Compensated: %.2f, Out: %.2f", infos.FOVIn, infos.CompensatedFOV, infos.FOVOut);