Skip to content

Commit

Permalink
xrRenderDX9/dx9HWCaps.cpp: properly load ATIMGPUD
Browse files Browse the repository at this point in the history
XRay::ModuleHandle automatically adds ".dll" to the module name when
loading.
  • Loading branch information
Xottab-DUTY committed Dec 5, 2021
1 parent 58a1209 commit 1dc1c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRenderDX9/dx9HWCaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ u32 GetNVGpuNum()

u32 GetATIGpuNum()
{
const auto atimgpud = XRay::LoadModule("ATIMGPUD.DLL");
const auto atimgpud = XRay::LoadModule("ATIMGPUD");
if (!atimgpud->IsLoaded())
return 0;

Expand Down

0 comments on commit 1dc1c10

Please sign in to comment.