summaryrefslogtreecommitdiff
path: root/Examples/DskImg.HC
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/DskImg.HC')
-rw-r--r--Examples/DskImg.HC3
1 files changed, 3 insertions, 0 deletions
diff --git a/Examples/DskImg.HC b/Examples/DskImg.HC
index f0cb3a7..262e971 100644
--- a/Examples/DskImg.HC
+++ b/Examples/DskImg.HC
@@ -15,6 +15,9 @@ U8 DskImg()
U8 *buf=NULL;
U64 cyl,blk=0,cyl_len=bd->heads*bd->spt;
+ // Drop the read cache
+ DskCacheInvalidate(dv);
+
// Open image file for writing
CFile *img = FOpen("Floppy.IMG.C","wc",dv->size);