mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-02-21 11:28:58 +00:00
allow unrecognised woz files to display sectors
This commit is contained in:
parent
2f3ab4db89
commit
3523d70733
@ -252,13 +252,13 @@ public class DiskFactory
|
|||||||
|
|
||||||
if (suffix.equals ("woz"))
|
if (suffix.equals ("woz"))
|
||||||
{
|
{
|
||||||
if (debug)
|
|
||||||
System.out.println (" ** woz **");
|
|
||||||
|
|
||||||
WozDisk wozDisk = new WozDisk (file);
|
WozDisk wozDisk = new WozDisk (file);
|
||||||
disk = checkDos (new AppleDisk (wozDisk, 35, 16));
|
AppleDisk appleDisk256 = new AppleDisk (wozDisk, 35, 16);
|
||||||
|
disk = checkDos (appleDisk256);
|
||||||
if (disk == null)
|
if (disk == null)
|
||||||
disk = checkProdos (new AppleDisk (wozDisk, 35, 8));
|
disk = checkProdos (new AppleDisk (wozDisk, 35, 8));
|
||||||
|
if (disk == null)
|
||||||
|
disk = new DataDisk (appleDisk256);
|
||||||
return disk;
|
return disk;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user