summary refs log tree commit diff
path: root/src/6502.h
diff options
context:
space:
mode:
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;