mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-08-25 07:36:45 +00:00
fix for enabler menu issues
This commit is contained in:
@@ -81,8 +81,8 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<IncludePath>$(SolutionDir)external\vulkan\include;$(SolutionDir)external\nvngx_dlss_sdk;$(SolutionDir)external\xess\inc\xess;$(SolutionDir)external\simpleini;$(SolutionDir)external\unordered_dense\include;$(SolutionDir)external\spdlog\include;$(IncludePath)</IncludePath>
|
||||
<LibraryPath>$(ProjectDir)fsr2\lib;$(ProjectDir)fsr2_212\lib;$(ProjectDir)vulkan;$(ProjectDir)d3dx;$(ProjectDir)detours;$(SolutionDir)external\xess\lib;$(LibraryPath)</LibraryPath>
|
||||
<TargetName>dxgi</TargetName>
|
||||
<OutDir>F:\Games\Steam\steamapps\common\Sons Of The Forest\</OutDir>
|
||||
<TargetName>dlss-enabler-upscaler</TargetName>
|
||||
<OutDir>D:\Folders\Games\Banishers Ghosts of New Eden\NWD\Binaries\Win64\</OutDir>
|
||||
<IntDir>.\x64\Debug</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
|
||||
@@ -32,7 +32,7 @@ private:
|
||||
inline static uint32_t _renderWidth = 0;
|
||||
|
||||
// dlss enabler
|
||||
inline static int _deLimitFps = 0;
|
||||
inline static int _deLimitFps = 500;
|
||||
|
||||
// output scaling
|
||||
inline static float _ssRatio = 0.0f;
|
||||
@@ -42,6 +42,7 @@ private:
|
||||
inline static int _selectedScale = 0;
|
||||
inline static bool _imguiSizeUpdate = true;
|
||||
|
||||
// ovarlay states
|
||||
inline static bool _dx11Ready = false;
|
||||
inline static bool _dx12Ready = false;
|
||||
inline static bool _vulkanReady = false;
|
||||
@@ -1094,7 +1095,8 @@ public:
|
||||
|
||||
ImGui::BeginDisabled(Config::Instance()->DE_FramerateLimitVsync.value_or(false));
|
||||
|
||||
if (Config::Instance()->DE_FramerateLimit.has_value() && _deLimitFps == 0)
|
||||
// set inital value
|
||||
if (Config::Instance()->DE_FramerateLimit.has_value() && _deLimitFps > 200)
|
||||
_deLimitFps = Config::Instance()->DE_FramerateLimit.value();
|
||||
|
||||
ImGui::SliderInt("FPS Limit", &_deLimitFps, 0, 200);
|
||||
@@ -1142,8 +1144,8 @@ public:
|
||||
if (ImGui::Selectable("FSR3", Config::Instance()->DE_Generator.value_or("auto") == "fsr3"))
|
||||
Config::Instance()->DE_Generator = "fsr3";
|
||||
|
||||
if (ImGui::Selectable("DLSS-G", Config::Instance()->DE_Generator.value_or("auto") == "dlggs"))
|
||||
Config::Instance()->DE_Generator = "dlggs";
|
||||
if (ImGui::Selectable("DLSS-G", Config::Instance()->DE_Generator.value_or("auto") == "dlssg"))
|
||||
Config::Instance()->DE_Generator = "dlssg";
|
||||
|
||||
ImGui::EndCombo();
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#define VER_MAJOR_VERSION 0
|
||||
#define VER_MINOR_VERSION 6
|
||||
#define VER_HOTFIX_VERSION 1
|
||||
#define VER_BUILD_NUMBER 21
|
||||
#define VER_BUILD_NUMBER 22
|
||||
#define VER_PRE_RELEASE
|
||||
|
||||
#define VER_FILE_VERSION VER_MAJOR_VERSION, VER_MINOR_VERSION, VER_HOTFIX_VERSION, VER_BUILD_NUMBER
|
||||
|
||||
Reference in New Issue
Block a user