summaryrefslogtreecommitdiff
path: root/mknes_cpu_opcodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'mknes_cpu_opcodes.c')
-rw-r--r--mknes_cpu_opcodes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mknes_cpu_opcodes.c b/mknes_cpu_opcodes.c
index 0254b5c..b2fafd5 100644
--- a/mknes_cpu_opcodes.c
+++ b/mknes_cpu_opcodes.c
@@ -1,6 +1,7 @@
// ADC
+__attribute__((hot, always_inline))
static inline void adc(struct cpu_state *cpu, uint8_t value) {
#ifdef ENABLE_DECIMAL_MODE
if(cpu->d) {