summary refs log tree commit diff
path: root/src/drive.h
diff options
context:
space:
mode:
authorMaxwell Beck <max@rastertail.net>2025-07-20 20:23:03 -0500
committerMaxwell Beck <max@rastertail.net>2025-07-20 20:23:03 -0500
commitf2ac7b405786f6bc047dfda7b45c139d194ba032 (patch)
tree17fa521e31a32192c3afb01829b063a57fc945e2 /src/drive.h
parent3cefba9f8727001e0ec0fb6af1e6c3377fbfd34c (diff)
feat: Disk swapping HEAD main
Diffstat (limited to 'src/drive.h')
-rw-r--r--src/drive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drive.h b/src/drive.h
index a555f15..7d1daae 100644
--- a/src/drive.h
+++ b/src/drive.h
@@ -13,7 +13,7 @@ extern const uint8_t GCR_CONV[16];
 typedef struct drive_s {
 	volatile bool spinning;
 	uint16_t timer;
-	uint8_t *image;
+	volatile uint8_t *volatile image;
 
 	volatile uint8_t track;
 	volatile uint8_t halftrack;