diff options
author | Andrzej Janik <[email protected]> | 2021-02-28 01:50:04 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-02-28 01:50:04 +0100 |
commit | ba83bb28f72faee394a3ecd583eb1cff7a41516d (patch) | |
tree | 1e67dd333cfb1bb125b6d63958e4133fec3d4871 /zluda_dump | |
parent | b7ee6d66c3cfac9922addc6c362ae437cfa8fee5 (diff) | |
download | ZLUDA-ba83bb28f72faee394a3ecd583eb1cff7a41516d.tar.gz ZLUDA-ba83bb28f72faee394a3ecd583eb1cff7a41516d.zip |
Inject our own NVML
Diffstat (limited to 'zluda_dump')
-rw-r--r-- | zluda_dump/src/os_win.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zluda_dump/src/os_win.rs b/zluda_dump/src/os_win.rs index 7f985c5..7e411ac 100644 --- a/zluda_dump/src/os_win.rs +++ b/zluda_dump/src/os_win.rs @@ -36,7 +36,7 @@ unsafe fn is_detoured() -> bool { break;
}
let mut size = 0;
- let payload = detours_sys::DetourFindPayload(module, &PAYLOAD_GUID, &mut size);
+ let payload = detours_sys::DetourFindPayload(module, &PAYLOAD_NVCUDA_GUID, &mut size);
if payload != ptr::null_mut() {
return true;
}
|