added log

This commit is contained in:
cdozdil
2024-09-22 22:04:53 +03:00
parent 20eb2c2c4a
commit 3aba91e365
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -82,7 +82,7 @@
<IncludePath>$(SolutionDir)external\vulkan\include;$(SolutionDir)external\nvngx_dlss_sdk;$(SolutionDir)external\xess\inc\xess;$(SolutionDir)external\FidelityFX-SDK\ffx-api\include\ffx_api;$(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>D:\Folders\Games\Cyberpunk 2077\bin\x64\</OutDir>
<OutDir>D:\Folders\Games\Banishers Ghosts of New Eden\NWD\Binaries\Win64\</OutDir>
<IntDir>.\x64\Debug</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+4 -1
View File
@@ -2045,8 +2045,11 @@ void ImGuiCommon::Init(HWND InHwnd)
_selectedScale = (int)((Config::Instance()->MenuScale.value_or(1.0f) - 1.0f) / 0.1f);
_isInited = true;
if (Config::Instance()->LoadSpecialK.value_or(false))
if (skHandle == nullptr && Config::Instance()->LoadSpecialK.value_or(false))
{
skHandle = LoadLibrary(L"SpecialK64.dll");
LOG_INFO("Load SpecialK64.dll result: {0:X}", (UINT64)skHandle);
}
}
void ImGuiCommon::Shutdown()