diff options
author | Maxwell Beck <max@rastertail.net> | 2025-07-20 20:23:03 -0500 |
---|---|---|
committer | Maxwell Beck <max@rastertail.net> | 2025-07-20 20:23:03 -0500 |
commit | f2ac7b405786f6bc047dfda7b45c139d194ba032 (patch) | |
tree | 17fa521e31a32192c3afb01829b063a57fc945e2 /src/6502.c | |
parent | 3cefba9f8727001e0ec0fb6af1e6c3377fbfd34c (diff) |
Diffstat (limited to 'src/6502.c')
-rw-r--r-- | src/6502.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/6502.c b/src/6502.c index 09f0a04..0ed0773 100644 --- a/src/6502.c +++ b/src/6502.c @@ -1,3 +1,5 @@ +#include <hardware/flash.h> + #include "6502.h" #define STACK_PUSH(v) \ @@ -529,7 +531,7 @@ void cpu_reset(cpu_t *cpu) { FETCH_PC(0xfffc); } -uint8_t cpu_step(cpu_t *cpu) { +uint8_t __not_in_flash_func(cpu_step)(cpu_t *cpu) { uint8_t cycles = 0; if (cpu->jammed) { return cycles; |