diff --git a/Cargo.lock b/Cargo.lock index cd4d40f..7fb0b4c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1723,7 +1723,7 @@ dependencies = [ [[package]] name = "ppc750cl" version = "0.2.0" -source = "git+https://github.com/terorie/ppc750cl#6a3476639ae677023e67b468e511c68123584807" +source = "git+https://github.com/encounter/ppc750cl?rev=20abce13e43f8d4ff4840732f9c92dda26ebe2ce#20abce13e43f8d4ff4840732f9c92dda26ebe2ce" dependencies = [ "num-traits", "serde", diff --git a/Cargo.toml b/Cargo.toml index 1dec1f1..743eae2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ cwdemangle = { git = "https://github.com/encounter/cwdemangle", rev = "ba448f403 log = "0.4.17" rfd = { version = "0.10.0" } # , default-features = false, features = ['xdg-portal'] egui_extras = "0.19.0" -ppc750cl = { git = "https://github.com/terorie/ppc750cl" } +ppc750cl = { git = "https://github.com/encounter/ppc750cl", rev = "20abce13e43f8d4ff4840732f9c92dda26ebe2ce" } rabbitizer = { git = "https://github.com/encounter/rabbitizer-rs", rev = "10c279b2ef251c62885b1dcdcfe740b0db8e9956" } time = { version = "0.3.14", features = ["formatting", "local-offset"] } diff --git a/src/app.rs b/src/app.rs index a2ff50d..126489f 100644 --- a/src/app.rs +++ b/src/app.rs @@ -361,6 +361,7 @@ fn create_watcher( Some(OsStr::new("cpp")), Some(OsStr::new("h")), Some(OsStr::new("hpp")), + Some(OsStr::new("s")), ]; if event.paths.iter().any(|p| watch_extensions.contains(&p.extension())) { modified.store(true, Ordering::Relaxed); diff --git a/src/obj/elf.rs b/src/obj/elf.rs index 6155992..c4f2592 100644 --- a/src/obj/elf.rs +++ b/src/obj/elf.rs @@ -181,7 +181,7 @@ fn find_section_symbol( Ok(ObjSymbol { name: name.to_string(), demangled_name: None, - address, + address: offset, section_address: address - section.address(), size: 0, size_known: false,