Update ppc750cl crate for improved CR bit & SPR decoding

This commit is contained in:
Luke Street 2022-10-09 23:51:09 -04:00
parent 39f263639a
commit c774a7b902
4 changed files with 4 additions and 3 deletions

2
Cargo.lock generated
View File

@ -1723,7 +1723,7 @@ dependencies = [
[[package]] [[package]]
name = "ppc750cl" name = "ppc750cl"
version = "0.2.0" version = "0.2.0"
source = "git+https://github.com/terorie/ppc750cl#6a3476639ae677023e67b468e511c68123584807" source = "git+https://github.com/encounter/ppc750cl?rev=20abce13e43f8d4ff4840732f9c92dda26ebe2ce#20abce13e43f8d4ff4840732f9c92dda26ebe2ce"
dependencies = [ dependencies = [
"num-traits", "num-traits",
"serde", "serde",

View File

@ -24,7 +24,7 @@ cwdemangle = { git = "https://github.com/encounter/cwdemangle", rev = "ba448f403
log = "0.4.17" log = "0.4.17"
rfd = { version = "0.10.0" } # , default-features = false, features = ['xdg-portal'] rfd = { version = "0.10.0" } # , default-features = false, features = ['xdg-portal']
egui_extras = "0.19.0" 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" } rabbitizer = { git = "https://github.com/encounter/rabbitizer-rs", rev = "10c279b2ef251c62885b1dcdcfe740b0db8e9956" }
time = { version = "0.3.14", features = ["formatting", "local-offset"] } time = { version = "0.3.14", features = ["formatting", "local-offset"] }

View File

@ -361,6 +361,7 @@ fn create_watcher(
Some(OsStr::new("cpp")), Some(OsStr::new("cpp")),
Some(OsStr::new("h")), Some(OsStr::new("h")),
Some(OsStr::new("hpp")), Some(OsStr::new("hpp")),
Some(OsStr::new("s")),
]; ];
if event.paths.iter().any(|p| watch_extensions.contains(&p.extension())) { if event.paths.iter().any(|p| watch_extensions.contains(&p.extension())) {
modified.store(true, Ordering::Relaxed); modified.store(true, Ordering::Relaxed);

View File

@ -181,7 +181,7 @@ fn find_section_symbol(
Ok(ObjSymbol { Ok(ObjSymbol {
name: name.to_string(), name: name.to_string(),
demangled_name: None, demangled_name: None,
address, address: offset,
section_address: address - section.address(), section_address: address - section.address(),
size: 0, size: 0,
size_known: false, size_known: false,