This commit is contained in:
a2x 2023-11-04 13:50:21 +10:00
parent f8643c1680
commit d6c4c8e4f1

View File

@ -324,15 +324,15 @@ impl Process {
let mut data = vec![0; entry.modBaseSize as usize];
self.read_memory_raw(
if let Ok(_) = self.read_memory_raw(
entry.modBaseAddr.into(),
data.as_mut_ptr() as *mut _,
data.len(),
)?;
) {
self.modules.insert(name.to_string(), data);
}
}
}
Ok(())
}