Make _load_module_patched function static

This commit is contained in:
mkrsym1 2023-08-02 02:24:39 +03:00
parent eb38894de5
commit 6279bb573d

View File

@ -51,7 +51,7 @@ void ace_fake_driver_files() {
_create_driver_file("C:\\windows\\system32\\drivers\\ACE-BASE.sys"); _create_driver_file("C:\\windows\\system32\\drivers\\ACE-BASE.sys");
} }
HMODULE _load_module_patched(wchar_t *path) { static HMODULE _load_module_patched(wchar_t *path) {
// Get filename from the path // Get filename from the path
wchar_t *name = wcsrchr(path, '\\'); wchar_t *name = wcsrchr(path, '\\');
name = name ? name + 1 : path; name = name ? name + 1 : path;