Skip to content

Commit c774a7b

Browse files
committed
Update ppc750cl crate for improved CR bit & SPR decoding
1 parent 39f2636 commit c774a7b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cwdemangle = { git = "https://github.com/encounter/cwdemangle", rev = "ba448f403
2424
log = "0.4.17"
2525
rfd = { version = "0.10.0" } # , default-features = false, features = ['xdg-portal']
2626
egui_extras = "0.19.0"
27-
ppc750cl = { git = "https://github.com/terorie/ppc750cl" }
27+
ppc750cl = { git = "https://github.com/encounter/ppc750cl", rev = "20abce13e43f8d4ff4840732f9c92dda26ebe2ce" }
2828
rabbitizer = { git = "https://github.com/encounter/rabbitizer-rs", rev = "10c279b2ef251c62885b1dcdcfe740b0db8e9956" }
2929
time = { version = "0.3.14", features = ["formatting", "local-offset"] }
3030

src/app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ fn create_watcher(
361361
Some(OsStr::new("cpp")),
362362
Some(OsStr::new("h")),
363363
Some(OsStr::new("hpp")),
364+
Some(OsStr::new("s")),
364365
];
365366
if event.paths.iter().any(|p| watch_extensions.contains(&p.extension())) {
366367
modified.store(true, Ordering::Relaxed);

src/obj/elf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ fn find_section_symbol(
181181
Ok(ObjSymbol {
182182
name: name.to_string(),
183183
demangled_name: None,
184-
address,
184+
address: offset,
185185
section_address: address - section.address(),
186186
size: 0,
187187
size_known: false,

0 commit comments

Comments
 (0)