diff --git a/core/src/arm7tdmi/cpu.rs b/core/src/arm7tdmi/cpu.rs index e933133..0672b43 100644 --- a/core/src/arm7tdmi/cpu.rs +++ b/core/src/arm7tdmi/cpu.rs @@ -346,7 +346,7 @@ impl Core { } } - #[inline] + #[inline(always)] pub(super) fn check_arm_cond(&self, cond: ArmCond) -> bool { use ArmCond::*; match cond { @@ -469,6 +469,7 @@ impl Core { /// Perform a pipeline step /// If an instruction was executed in this step, return it. + #[inline] pub fn step(&mut self) { match self.cpsr.state() { CpuState::ARM => {