diff options
Diffstat (limited to 'Examples')
| -rw-r--r-- | Examples/DskImg.HC | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Examples/DskImg.HC b/Examples/DskImg.HC index 5912302..f0cb3a7 100644 --- a/Examples/DskImg.HC +++ b/Examples/DskImg.HC @@ -21,7 +21,7 @@ U8 DskImg() // Allocate a buffer for the cylinders buf=MAlloc(cyl_len*bd->blk_size) - xfer_blk: + xfer_cyl: // If we are past the last blk, stop. if (blk>bd->max_blk) goto done; @@ -33,6 +33,7 @@ U8 DskImg() // Move to the next cylinder blk+=cyl_len; + goto xfer_cyl; done: // Close the image file and release the buffer |
