Facebook
From Soft Camel, 1 Year ago, written in C.
Embed
Download Paste or View Raw
Hits: 904
  1. --- a/host/Capture/NvFBC.cpp
  2. +++ b/host/Capture/NvFBC.cpp
  3. @@ -119,12 +119,20 @@ bool NvFBC::Initialize(CaptureOptions * options)
  4.      return false;
  5.    }
  6.  
  7. +  // Secret password that enables NvFBC for GeForce cards. Use of
  8. +  // NvFBC requires that you install the NVIDIA Capture SDK and run
  9. +  // NvFBCEnable.exe -enable in an elevated cmd:
  10. +  // C:\Program Files (x86)\NVIDIA Corporation\NVIDIA Capture SDK\bin\NvFBCEnable.exe -enable
  11. +  int magic[] = { 0x0D7BC620, 0x4C17E142, 0x5E6B5997, 0x4B5A855B };
  12. +
  13.    NvFBCCreateParams params;
  14.    ZeroMemory(&params, sizeof(NvFBCCreateParams));
  15.    params.dwVersion       = NVFBC_CREATE_PARAMS_VER;
  16.    params.dwInterfaceType = NVFBC_TO_SYS;
  17.    params.pDevice         = NULL;
  18.    params.dwAdapterIdx    = 0;
  19. +  params.pPrivateData      = &magic;
  20. +  params.dwPrivateDataSize = sizeof(magic);
  21.  
  22.    if (m_fnCreateEx(&params) != NVFBC_SUCCESS)
  23.    {
  24.  

Replies to Looking Glass patch to enable NvFBC on GeForce rss

Title Name Language When
Re: Looking Glass patch to enable NvFBC on GeForc Metro Zenko c 3 Months ago.
Re: Looking Glass patch to enable NvFBC on GeForc Crimson Hedgehog diff 5 Months ago.
Re: Looking Glass patch to enable NvFBC on GeForc Obese Frog c 6 Months ago.