diff options
Diffstat (limited to 'NorthstarDLL/clientvideooverrides.cpp')
-rw-r--r-- | NorthstarDLL/clientvideooverrides.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/NorthstarDLL/clientvideooverrides.cpp b/NorthstarDLL/clientvideooverrides.cpp index 659bf23c..c5989968 100644 --- a/NorthstarDLL/clientvideooverrides.cpp +++ b/NorthstarDLL/clientvideooverrides.cpp @@ -1,7 +1,6 @@ #include "pch.h" #include "clientvideooverrides.h" #include "modmanager.h" -#include "nsmem.h" typedef void* (*BinkOpenType)(const char* path, uint32_t flags); BinkOpenType BinkOpen; @@ -32,12 +31,8 @@ void* BinkOpenHook(const char* path, uint32_t flags) return BinkOpen(path, flags); } -void InitialiseEngineClientVideoOverrides(HMODULE baseAddress) +void InitialiseClientVideoOverrides(HMODULE baseAddress) { - // remove engine check for whether the bik we're trying to load exists in r2/media, as this will fail for biks in mods - // note: the check in engine is actually unnecessary, so it's just useless in practice and we lose nothing by removing it - NSMem::NOP((uintptr_t)baseAddress + 0x459AD, 6); - HookEnabler hook; ENABLER_CREATEHOOK( hook, |