chore: Replace trace exception with trace!

Former-commit-id: 0b6f2126a6861b8f31f5231b5e0cfda3df30d5d5
This commit is contained in:
Michel Heily 2020-02-01 12:21:42 +02:00
parent 15f20e88fe
commit 99cf07c391

View file

@ -30,7 +30,6 @@ impl Core {
Irq => (CpuMode::Irq, true, false), Irq => (CpuMode::Irq, true, false),
Fiq => (CpuMode::Fiq, true, true), Fiq => (CpuMode::Fiq, true, true),
}; };
if self.trace_exceptions {
trace!( trace!(
"{}: {:?}, pc: {:#x}, new_mode: {:?} old_mode: {:?}", "{}: {:?}, pc: {:#x}, new_mode: {:?} old_mode: {:?}",
"Exception".cyan(), "Exception".cyan(),
@ -39,7 +38,6 @@ impl Core {
new_mode, new_mode,
self.cpsr.mode(), self.cpsr.mode(),
); );
}
let new_bank = new_mode.bank_index(); let new_bank = new_mode.bank_index();
self.spsr_bank[new_bank] = self.cpsr; self.spsr_bank[new_bank] = self.cpsr;