mirror of
https://github.com/Zenithsiz/dcb.git
synced 2026-02-11 20:48:11 +00:00
Data no longer stores it's end position.
Removed `Directive::DwRepeat`. Fixed `WithInstructionsIter` stoping on `jr $ra` instead of at the end of the function.
This commit is contained in:
@@ -236,7 +236,7 @@ fn main() -> Result<(), anyhow::Error> {
|
||||
}
|
||||
|
||||
// Comment any `dw` instructions that are function, data or string pointers
|
||||
if let Instruction::Directive(Directive::Dw(target) | Directive::DwRepeated { value: target, .. }) = instruction {
|
||||
if let Instruction::Directive(Directive::Dw(target)) = instruction {
|
||||
if let Some(func) = functions.get(Pos(*target)) {
|
||||
print!(" # {}", func.name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user