Make _load_module_patched function static
This commit is contained in:
parent
eb38894de5
commit
6279bb573d
@ -51,7 +51,7 @@ void ace_fake_driver_files() {
|
||||
_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
|
||||
wchar_t *name = wcsrchr(path, '\\');
|
||||
name = name ? name + 1 : path;
|
||||
|
Loading…
Reference in New Issue
Block a user