Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit c0ff773

Browse files
committed
fix overlaping api and update lib
1 parent 127c577 commit c0ff773

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyscemu"
3-
version = "0.6.3"
3+
version = "0.6.5"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -10,5 +10,6 @@ crate-type = ["cdylib"]
1010

1111
[dependencies]
1212
pyo3 = "0.18.1"
13-
libscemu = "0.16.3"
13+
libscemu = "0.16.5"
1414
#libscemu = { path = "/home/sha0/src/libscemu/" }
15+
#libscemu = { path = "/Users/sha0coder/src/libscemu/" }

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,9 +702,9 @@ impl Emu {
702702
return Ok(self.emu.maps.size());
703703
}
704704

705-
/// show if there are memory blocks overlapping eachother.
705+
/// show if there are memory blocks overlaping eachother.
706706
pub fn memory_overlaps(&self, addr:u64, sz:u64) -> PyResult<bool> {
707-
return Ok(self.emu.maps.overlapps(addr, sz));
707+
return Ok(self.emu.maps.overlaps(addr, sz));
708708
}
709709

710710
/// show all the memory blocks allocated during the emulation.

0 commit comments

Comments
 (0)