Skip to content

Commit 17a0b0c

Browse files
committed
Allow the FSR 3 MFG mod to work with spoofing active
1 parent 8f31e56 commit 17a0b0c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

OptiScaler/inputs/FG/DLSSG_Mod.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@ class DLSSGMod
7070

7171
// set early so the hooks know
7272
State::Instance().NukemsMFG = true;
73-
_dll = NtdllProxy::LoadLibraryExW_Ldr(dllPath.c_str(), NULL, 0);
73+
{
74+
// Lets the MFG mod provide fakenvapi
75+
ScopedSkipSpoofing skipSpoofing {};
76+
_dll = NtdllProxy::LoadLibraryExW_Ldr(dllPath.c_str(), NULL, 0);
77+
}
7478

7579
if (_dll != nullptr)
7680
{

0 commit comments

Comments
 (0)