diff --git a/src/nvapi_d3d.cpp b/src/nvapi_d3d.cpp index c1c29ad1..fdfcb6da 100644 --- a/src/nvapi_d3d.cpp +++ b/src/nvapi_d3d.cpp @@ -4,7 +4,7 @@ extern "C" { using namespace dxvk; - NvAPI_Status __cdecl NvAPI_D3D_GetObjectHandleForResource(IUnknown* pDevice, IUnknown* pResource, NVDX_ObjectHandle* pHandle) { + NvAPI_Status __cdecl NvAPI_D3D_GetObjectHandleForResource(IUnknown *pDevice, IUnknown *pResource, NVDX_ObjectHandle *pHandle) { static bool alreadyLogged = false; return NoImplementation("NvAPI_D3D_GetObjectHandleForResource", alreadyLogged); } @@ -14,7 +14,7 @@ extern "C" { return NoImplementation("NvAPI_D3D_SetResourceHint", alreadyLogged); } - NvAPI_Status __cdecl NvAPI_D3D_GetCurrentSLIState(IUnknown* pDevice, NV_GET_CURRENT_SLI_STATE* pSliState) { + NvAPI_Status __cdecl NvAPI_D3D_GetCurrentSLIState(IUnknown *pDevice, NV_GET_CURRENT_SLI_STATE *pSliState) { constexpr auto n = "NvAPI_D3D_GetCurrentSLIState"; if (pDevice == nullptr || pSliState == nullptr) diff --git a/src/nvapi_d3d11.cpp b/src/nvapi_d3d11.cpp index ad217532..0be123df 100644 --- a/src/nvapi_d3d11.cpp +++ b/src/nvapi_d3d11.cpp @@ -7,7 +7,7 @@ extern "C" { using namespace dxvk; - NvAPI_Status __cdecl NvAPI_D3D11_SetDepthBoundsTest(IUnknown* pDeviceOrContext, NvU32 bEnable, float fMinDepth, float fMaxDepth) { + NvAPI_Status __cdecl NvAPI_D3D11_SetDepthBoundsTest(IUnknown *pDeviceOrContext, NvU32 bEnable, float fMinDepth, float fMaxDepth) { constexpr auto n = "NvAPI_D3D11_SetDepthBoundsTest"; static bool alreadyLogged = false; @@ -72,7 +72,7 @@ extern "C" { return Ok(n, alreadyLogged); } - NvAPI_Status __cdecl NvAPI_D3D11_IsNvShaderExtnOpCodeSupported(IUnknown* pDeviceOrContext, NvU32 code, bool* supported) { + NvAPI_Status __cdecl NvAPI_D3D11_IsNvShaderExtnOpCodeSupported(IUnknown *pDeviceOrContext, NvU32 code, bool *supported) { constexpr auto n = "NvAPI_D3D11_IsNvShaderExtnOpCodeSupported"; if (pDeviceOrContext == nullptr || supported == nullptr) diff --git a/src/nvapi_d3d12.cpp b/src/nvapi_d3d12.cpp index 814cacdf..ca568062 100644 --- a/src/nvapi_d3d12.cpp +++ b/src/nvapi_d3d12.cpp @@ -6,7 +6,7 @@ extern "C" { using namespace dxvk; - NvAPI_Status __cdecl NvAPI_D3D12_IsNvShaderExtnOpCodeSupported(ID3D12Device* pDevice, NvU32 opCode, bool* pSupported) { + NvAPI_Status __cdecl NvAPI_D3D12_IsNvShaderExtnOpCodeSupported(ID3D12Device *pDevice, NvU32 opCode, bool *pSupported) { constexpr auto n = "NvAPI_D3D12_IsNvShaderExtnOpCodeSupported"; if (pDevice == nullptr || pSupported == nullptr) diff --git a/src/nvapi_disp.cpp b/src/nvapi_disp.cpp index 7c40f0fe..b06fb096 100644 --- a/src/nvapi_disp.cpp +++ b/src/nvapi_disp.cpp @@ -33,7 +33,7 @@ extern "C" { return Ok(str::format(n, " ", displayId)); } - NvAPI_Status __cdecl NvAPI_DISP_GetDisplayIdByDisplayName(const char *displayName, NvU32* displayId) { + NvAPI_Status __cdecl NvAPI_DISP_GetDisplayIdByDisplayName(const char *displayName, NvU32 *displayId) { constexpr auto n = "NvAPI_DISP_GetDisplayIdByDisplayName"; if (nvapiAdapterRegistry == nullptr) @@ -51,7 +51,7 @@ extern "C" { return Ok(str::format(n, " ", displayName)); } - NvAPI_Status __cdecl NvAPI_DISP_GetGDIPrimaryDisplayId(NvU32* displayId) { + NvAPI_Status __cdecl NvAPI_DISP_GetGDIPrimaryDisplayId(NvU32 *displayId) { constexpr auto n = "NvAPI_DISP_GetGDIPrimaryDisplayId"; if (displayId == nullptr) diff --git a/src/nvapi_gpu.cpp b/src/nvapi_gpu.cpp index de7ee165..a83e65d1 100644 --- a/src/nvapi_gpu.cpp +++ b/src/nvapi_gpu.cpp @@ -80,7 +80,7 @@ extern "C" { return Ok(n); } - NvAPI_Status __cdecl NvAPI_GPU_GetPhysicalFrameBufferSize(NvPhysicalGpuHandle hPhysicalGpu,NvU32 *pSize) { + NvAPI_Status __cdecl NvAPI_GPU_GetPhysicalFrameBufferSize(NvPhysicalGpuHandle hPhysicalGpu, NvU32 *pSize) { constexpr auto n = "NvAPI_GPU_GetPhysicalFrameBufferSize"; if (nvapiAdapterRegistry == nullptr)