]> Shamusworld >> Repos - apple2/blobdiff - src/gui/diskselector.cpp
Add support for .hdv hard drive images, new "Rob Color TV" palette.
[apple2] / src / gui / diskselector.cpp
index ac3ec44682f8b3993bc8137f13491bc3b71a0cab..57014b5e3cb1986a6798a9f91058d9bc4d8e14f1 100644 (file)
@@ -401,7 +401,9 @@ void DiskSelector::FindHardDisks(const char * path)
                {
                        const char * ext = strrchr(ent->d_name, '.');
 
-                       if ((ext != NULL) && (strcasecmp(ext, ".2mg") == 0))
+                       if ((ext != NULL)
+                               && ((strcasecmp(ext, ".2mg") == 0)
+                                       || (strcasecmp(ext, ".hdv") == 0)))
                        {
                                FileStruct fs;
                                fs.image = ent->d_name;