chore: Replace trace exception with trace!
Former-commit-id: 0b6f2126a6861b8f31f5231b5e0cfda3df30d5d5
This commit is contained in:
parent
15f20e88fe
commit
99cf07c391
|
@ -30,16 +30,14 @@ impl Core {
|
|||
Irq => (CpuMode::Irq, true, false),
|
||||
Fiq => (CpuMode::Fiq, true, true),
|
||||
};
|
||||
if self.trace_exceptions {
|
||||
trace!(
|
||||
"{}: {:?}, pc: {:#x}, new_mode: {:?} old_mode: {:?}",
|
||||
"Exception".cyan(),
|
||||
e,
|
||||
self.pc,
|
||||
new_mode,
|
||||
self.cpsr.mode(),
|
||||
);
|
||||
}
|
||||
trace!(
|
||||
"{}: {:?}, pc: {:#x}, new_mode: {:?} old_mode: {:?}",
|
||||
"Exception".cyan(),
|
||||
e,
|
||||
self.pc,
|
||||
new_mode,
|
||||
self.cpsr.mode(),
|
||||
);
|
||||
|
||||
let new_bank = new_mode.bank_index();
|
||||
self.spsr_bank[new_bank] = self.cpsr;
|
||||
|
|
Reference in a new issue