summary refs log tree commit diff
path: root/src/6502.h
diff options
context:
space:
mode:
authorMaxwell Beck <max@rastertail.net>2024-12-28 19:09:06 -0600
committerMaxwell Beck <max@rastertail.net>2024-12-28 19:09:06 -0600
commitbc3fbeb48dea39d7213fb257a56e35bcacba9e8d (patch)
tree9b0f0bbad177e4f73c8a6074e79b5a8f0332b63a /src/6502.h
parentdbe367d5a302300e598187eaf4c369eb06f5ec48 (diff)
Use multicore to meet timing
Diffstat (limited to 'src/6502.h')
-rw-r--r--src/6502.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/6502.h b/src/6502.h
index 1333623..78f03e8 100644
--- a/src/6502.h
+++ b/src/6502.h
@@ -25,7 +25,7 @@ typedef struct cpu_s {
 	uint8_t x;
 	uint8_t y;
 	uint8_t sp;
-	uint8_t flags;
+	volatile uint8_t flags;
 
 	bool irq;
 	bool nmi;