summaryrefslogtreecommitdiff
path: root/mknes_cpu_opcodes.c
diff options
context:
space:
mode:
authorPeter Fors <peter.fors@mindkiller.com>2025-10-16 04:19:32 +0200
committerPeter Fors <peter.fors@mindkiller.com>2025-10-16 04:19:32 +0200
commita4c261c6ee3940099e653a6f448dc952dfd5899f (patch)
tree7b14cfde56d735259f6e852a6d337228e00db0f5 /mknes_cpu_opcodes.c
parentdcaf169691cfbb865241e96a4786af0862424701 (diff)
optimized, but bug with rasterdemos
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) {