mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-01-22 17:16:11 +00:00
I think this was a missed bit for Gutenberg.
This commit is contained in:
@@ -50,6 +50,13 @@ public class GutenbergDiskFactory implements DiskFactory {
|
||||
TrackSectorDevice tmp = SkewedTrackSectorDevice.pascalToPhysicalSkew(ctx.sectorDevice);
|
||||
devices.add(SkewedTrackSectorDevice.physicalToDosSkew(tmp));
|
||||
}
|
||||
else {
|
||||
// Likely a DSK image
|
||||
devices.add(ctx.sectorDevice);
|
||||
// Cheating a bit...
|
||||
TrackSectorDevice tmp = SkewedTrackSectorDevice.pascalToPhysicalSkew(ctx.sectorDevice);
|
||||
devices.add(SkewedTrackSectorDevice.physicalToDosSkew(tmp));
|
||||
}
|
||||
}
|
||||
else if (ctx.blockDevice != null) {
|
||||
TrackSectorDevice po = new BlockToTrackSectorAdapter(ctx.blockDevice, new ProdosBlockToTrackSectorAdapterStrategy());
|
||||
|
||||
Reference in New Issue
Block a user