From e670fdb407f7e26aec58e2a5c8c4043197ecc297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Sat, 8 Apr 2023 00:46:27 +0100 Subject: [PATCH] feat: added force inline --- src/apu.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apu.rs b/src/apu.rs index c13153a5..bd81e6d1 100644 --- a/src/apu.rs +++ b/src/apu.rs @@ -465,6 +465,7 @@ impl Apu { } } + #[inline(always)] pub fn output(&self) -> u8 { self.ch1_output() + self.ch2_output() + self.ch3_output() + self.ch4_output() } -- GitLab