diff options
author | F1F7Y <64418963+F1F7Y@users.noreply.github.com> | 2024-08-27 19:31:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 19:31:39 +0200 |
commit | a73006df20d65802b23c38c310f018c92e4fc661 (patch) | |
tree | a8424ce75d1618dc991c550845983dcf2fa0f2f5 /primedev | |
parent | f1288350c729d63aeeb0a6bdab0746b865131668 (diff) | |
download | NorthstarLauncher-a73006df20d65802b23c38c310f018c92e4fc661.tar.gz NorthstarLauncher-a73006df20d65802b23c38c310f018c92e4fc661.zip |
core: Remove unused `CModule` variable (#785)v1.27.4-rc1
Removes unused `CModule` var. CModule crashes when you give it a dll tha's been loaded as one of these: `LOAD_LIBRARY_AS_DATAFILE`, `LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE`, `LOAD_LIBRARY_AS_IMAGE_RESOURCE`. We have guards for this in libsys but not here.
Diffstat (limited to 'primedev')
-rw-r--r-- | primedev/core/hooks.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/primedev/core/hooks.cpp b/primedev/core/hooks.cpp index 7ce98331..a57340cf 100644 --- a/primedev/core/hooks.cpp +++ b/primedev/core/hooks.cpp @@ -328,8 +328,6 @@ void CallLoadLibraryACallbacks(LPCSTR lpLibFileName, HMODULE moduleAddress) void CallLoadLibraryWCallbacks(LPCWSTR lpLibFileName, HMODULE moduleAddress) { - CModule cModule(moduleAddress); - while (true) { bool bDoneCalling = true; |