mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-05-29 02:41:30 +00:00
When faced with a 140k image, let the file suffix .do, .po, .2mg take precedence before we go sniffing for a filesystem.
This commit is contained in:
parent
d8ef6f1a70
commit
6526cf3e0b
|
@ -262,6 +262,21 @@ public class Disk {
|
||||||
rc = 0;
|
rc = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (rc == -1) {
|
||||||
|
/*
|
||||||
|
* Check filenames for something deterministic.
|
||||||
|
*/
|
||||||
|
if (isProdosOrder() || is2ImgOrder()) {
|
||||||
|
imageOrder = proDosOrder;
|
||||||
|
rc = 0;
|
||||||
|
} else if (isDosOrder()) {
|
||||||
|
imageOrder = dosOrder;
|
||||||
|
rc = 0;
|
||||||
|
} else if (isNibbleOrder()) {
|
||||||
|
imageOrder = new NibbleOrder(diskImageManager);
|
||||||
|
rc = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
if (rc == -1) {
|
if (rc == -1) {
|
||||||
/*
|
/*
|
||||||
* Ok, it's not one of those. Now, let's go back to DOS
|
* Ok, it's not one of those. Now, let's go back to DOS
|
||||||
|
|
Loading…
Reference in New Issue
Block a user