summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/ap_dsk35.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/ap_dsk35.cpp')
-rw-r--r--src/lib/formats/ap_dsk35.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/formats/ap_dsk35.cpp b/src/lib/formats/ap_dsk35.cpp
index 0fc1aafca32..9819406183c 100644
--- a/src/lib/formats/ap_dsk35.cpp
+++ b/src/lib/formats/ap_dsk35.cpp
@@ -1543,6 +1543,12 @@ int apple_2mg_format::identify(io_generic *io, uint32_t form_factor, const std::
return 100;
}
+ // Bernie ][ The Rescue wrote 2MGs with the signature byte-flipped, other fields are valid
+ if (!strncmp(reinterpret_cast<char *>(signature), "GMI2", 4))
+ {
+ return 100;
+ }
+
return 0;
}