diff --git a/DateTime.cpp b/DateTime.cpp index 6c0062a..bacf62b 100644 --- a/DateTime.cpp +++ b/DateTime.cpp @@ -141,4 +141,3 @@ std::time_t DateTime::toUnix() const // convert back via locatime & fudge for dst? } -} // namespace diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..552e7d1 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +CC = g++ +CPPFLAGS += -Wall -O2 + +newfs_prodos: \ + newfs_prodos.o \ + Exception.o \ + BlockDevice.o \ + UniversalDiskImage.o \ + DiskCopy42Image.o \ + DavexDiskImage.o \ + RawDevice.o \ + MappedFile.o \ + Buffer.o \ + Entry.o \ + Directory.o \ + VolumeDirectory.o \ + Bitmap.o \ + DateTime.o + + + \ No newline at end of file diff --git a/VolumeDirectory.cpp b/VolumeDirectory.cpp index 20f0c63..f4c8df1 100644 --- a/VolumeDirectory.cpp +++ b/VolumeDirectory.cpp @@ -83,6 +83,7 @@ VolumeDirectory::~VolumeDirectory() _device->sync(); delete _device; } + delete _bitmap; } void VolumeDirectory::write(Buffer *out)