Skip to content

Commit

Permalink
Fix accidental tag traversal filter
Browse files Browse the repository at this point in the history
  • Loading branch information
cohaereo committed Jun 21, 2024
1 parent a1a9ae8 commit 0bb44ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/gui/audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ impl AudioPlayer {
samples.to_vec(),
);
self.sink.stop();
self.sink.clear();
self.sink.append(sb);
self.sink.play();

Expand Down
7 changes: 5 additions & 2 deletions src/gui/tag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1062,11 +1062,14 @@ fn traverse_tag(
writeln!(out, "{fancy_tag} @ 0x{offset:X}",).ok();

if let Some(entry) = &entry {
if matches!(entry.reference, 0x808099F1 | 0x80808BE0) {
if entry.reference == 0x808099F1 {
return TraversedTag {
tag,
entry: Some(entry.clone()),
reason: None,
reason: Some(format!(
"Reference 0x{:08X} is blocked from being scanned",
entry.reference
)),
subtags: vec![],
};
}
Expand Down

0 comments on commit 0bb44ec

Please sign in to comment.