mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-04-27 02:17:54 +00:00
I think this was a missed bit for Gutenberg.
This commit is contained in:
1 parent
9462179ba5
commit
2ff5fc3654
1 file changed
+7
+7
@@ -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