diff options
author | Andrzej Janik <[email protected]> | 2021-12-05 23:01:46 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-12-05 23:01:46 +0100 |
commit | 2c6d7ffb7a68514dbfa97095516681d843802012 (patch) | |
tree | 764c2ae95e44e6c5d37f6fc5feb91ccee5d32314 /zluda_dump | |
parent | 26bf0eeaf278be11ac7ddf25bcddc752fe49f7aa (diff) | |
download | ZLUDA-2c6d7ffb7a68514dbfa97095516681d843802012.tar.gz ZLUDA-2c6d7ffb7a68514dbfa97095516681d843802012.zip |
Fix remaining issues with detouring nvcuda
Diffstat (limited to 'zluda_dump')
-rw-r--r-- | zluda_dump/src/os_win.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zluda_dump/src/os_win.rs b/zluda_dump/src/os_win.rs index 2bfc457..d80f6e6 100644 --- a/zluda_dump/src/os_win.rs +++ b/zluda_dump/src/os_win.rs @@ -66,7 +66,6 @@ impl PlatformLibrary { if module == ptr::null_mut() {
break;
}
- let mut size = 0;
let payload = GetProcAddress(module as _, b"ZLUDA_REDIRECT\0".as_ptr() as _);
if payload != ptr::null_mut() {
return Some(module as _);
|