From d98a27f637579e36e81c6028126ac681dc00ea7f Mon Sep 17 00:00:00 2001 From: Stephen White Date: Sun, 29 Dec 2019 15:13:58 +1100 Subject: [PATCH] Fixed bug when adding a PRG file to a virtual D64 --- src/DiskImage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DiskImage.cpp b/src/DiskImage.cpp index 7f13dfb..1510118 100644 --- a/src/DiskImage.cpp +++ b/src/DiskImage.cpp @@ -1903,6 +1903,8 @@ bool DiskImage::AddFileToRAMD64(unsigned char* ramD64, const char* name, const u { int blocks; + success = true; + for (blocks = 0; blocks < numberOfSectorsRequired; ++blocks) { int track;