Skip to content

Commit

Permalink
Fix invalid utf-8 characters in NVAPI headers, and set pre-compiled h…
Browse files Browse the repository at this point in the history
…eader to use utf-8
  • Loading branch information
Kaldaien committed Feb 12, 2024
1 parent 99b5f2e commit 839a84c
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
indent_style = space
indent_size = 2
charset = utf-8-bom
trim_trailing_whitespace = true
trim_trailing_whitespace = true vcbfN453R6*--
8 changes: 4 additions & 4 deletions SpecialK.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
<OpenMPSupport>false</OpenMPSupport>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<EnableModules>false</EnableModules>
<AdditionalOptions>/O0 /Zo /Gw /Oy- /GR /cgthreads8 /Zc:implicitNoexcept /Zc:strictStrings- /Zf</AdditionalOptions>
<AdditionalOptions>/execution-charset:utf-8 /O0 /Zo /Gw /Oy- /GR /cgthreads8 /Zc:implicitNoexcept /Zc:strictStrings- /Zf</AdditionalOptions>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PreprocessKeepComments>false</PreprocessKeepComments>
<SmallerTypeCheck>false</SmallerTypeCheck>
Expand Down Expand Up @@ -258,7 +258,7 @@ if exist "$(TargetDir)$(TargetName).exp" ( del "$(TargetDir)$(TargetName).exp" )
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>NTDDI_VERSION=NTDDI_WINTHRESHOLD;_WIN7_PLATFORM_UPDATE;_WIN32_WINNT=_WIN32_WINNT_WINBLUE;NOMINMAX;_WIN64;WIN32;_DEBUG;_WINDOWS;_USRDLL;SK_EXPORTS;GLEW_STATIC;%(PreprocessorDefinitions);/D_WIN32_WINNT _WIN32_WINNT_WIN7;/DWINVER _WIN32_WINNT_WIN7;PSAPI_VERSION=1;_CRT_SECURE_NO_WARNINGS;NOMINMAX;_CRT_NON_CONFORMING_SWPRINTFS;SK_BUILD_DLL=1;DIRECTINPUT_VERSION=0x0800;_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<AdditionalOptions>/O0 /Zo /Gw /Oy- /GR /cgthreads8 /Zc:implicitNoexcept /Zc:strictStrings- /Zf</AdditionalOptions>
<AdditionalOptions>/execution-charset:utf-8 /O0 /Zo /Gw /Oy- /GR /cgthreads8 /Zc:implicitNoexcept /Zc:strictStrings- /Zf</AdditionalOptions>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
Expand Down Expand Up @@ -403,7 +403,7 @@ if exist "$(TargetDir)$(TargetName).exp" ( del "$(TargetDir)$(TargetName).exp" )
<UndefinePreprocessorDefinitions>DECLSPEC_NOINITALL,min,max</UndefinePreprocessorDefinitions>
<RemoveUnreferencedCodeData>true</RemoveUnreferencedCodeData>
<EnableModules>false</EnableModules>
<AdditionalOptions>/GS- /Gs8192 /Ob3 /Zo /Gw /GR /cgthreads8 /Zc:implicitNoexcept /Zc:strictStrings- /Zf /guard:cf- /QIntel-jcc-erratum</AdditionalOptions>
<AdditionalOptions>/execution-charset:utf-8 /GS- /Gs8192 /Ob3 /Zo /Gw /GR /cgthreads8 /Zc:implicitNoexcept /Zc:strictStrings- /Zf /guard:cf- /QIntel-jcc-erratum</AdditionalOptions>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PrecompiledHeaderFile>SpecialK/stdafx.h</PrecompiledHeaderFile>
<ShowIncludes>false</ShowIncludes>
Expand Down Expand Up @@ -522,7 +522,7 @@ if exist "$(TargetDir)$(TargetName).exp" ( del "$(TargetDir)$(TargetName).exp" )
<FunctionLevelLinking>true</FunctionLevelLinking>
<UndefinePreprocessorDefinitions>DECLSPEC_NOINITALL,min,max</UndefinePreprocessorDefinitions>
<RemoveUnreferencedCodeData>true</RemoveUnreferencedCodeData>
<AdditionalOptions>/GS- /Gs8192 /Ob3 /Zo /Gw /GR /cgthreads8 /Zc:implicitNoexcept /Zc:strictStrings- /Zf /guard:cf- /QIntel-jcc-erratum</AdditionalOptions>
<AdditionalOptions>/execution-charset:utf-8 /GS- /Gs8192 /Ob3 /Zo /Gw /GR /cgthreads8 /Zc:implicitNoexcept /Zc:strictStrings- /Zf /guard:cf- /QIntel-jcc-erratum</AdditionalOptions>
<WholeProgramOptimization>true</WholeProgramOptimization>
<ExceptionHandling>Async</ExceptionHandling>
<BufferSecurityCheck>false</BufferSecurityCheck>
Expand Down
4 changes: 2 additions & 2 deletions depends/include/nvapi/nvapi_lite_common.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/************************************************************************************************************************************\
/************************************************************************************************************************************\
|* *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* *|
|* NOTICE TO USER: *|
|* *|
Expand Down
4 changes: 2 additions & 2 deletions depends/include/nvapi/nvapi_lite_d3dext.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/************************************************************************************************************************************\
 /************************************************************************************************************************************\
|* *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* *|
|* NOTICE TO USER: *|
|* *|
Expand Down
4 changes: 2 additions & 2 deletions depends/include/nvapi/nvapi_lite_salend.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/************************************************************************************************************************************\
/************************************************************************************************************************************\
|* *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* *|
|* NOTICE TO USER: *|
|* *|
Expand Down
4 changes: 2 additions & 2 deletions depends/include/nvapi/nvapi_lite_salstart.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/************************************************************************************************************************************\
 /************************************************************************************************************************************\
|* *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* *|
|* NOTICE TO USER: *|
|* *|
Expand Down
4 changes: 2 additions & 2 deletions depends/include/nvapi/nvapi_lite_sli.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/************************************************************************************************************************************\
 /************************************************************************************************************************************\
|* *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* *|
|* NOTICE TO USER: *|
|* *|
Expand Down
4 changes: 2 additions & 2 deletions depends/include/nvapi/nvapi_lite_stereo.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/************************************************************************************************************************************\
 /************************************************************************************************************************************\
|* *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* Copyright © 2012 NVIDIA Corporation. All rights reserved. *|
|* *|
|* NOTICE TO USER: *|
|* *|
Expand Down
2 changes: 1 addition & 1 deletion include/SpecialK/stdafx.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/**
* This file is part of Special K.
*
* Special K is free software : you can redistribute it
Expand Down
2 changes: 1 addition & 1 deletion include/SpecialK/targetver.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/**
* This file is part of Special K.
*
* Special K is free software : you can redistribute it
Expand Down
2 changes: 1 addition & 1 deletion src/stdafx.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/**
* This file is part of Special K.
*
* Special K is free software : you can redistribute it
Expand Down

0 comments on commit 839a84c

Please sign in to comment.