aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter van Niftrik2017-07-25 10:23:42 +0200
committerWalter van Niftrik2017-07-25 14:08:22 +0200
commit90a453a53434dc16dfa07ca97c925e437ea9e785 (patch)
tree444b25e644f9fa371d54abcda6799d62794eda49
parentdb86363a34204c8dd8449f6e7bbe8b0614b831ce (diff)
downloadscummvm-rg350-90a453a53434dc16dfa07ca97c925e437ea9e785.tar.gz
scummvm-rg350-90a453a53434dc16dfa07ca97c925e437ea9e785.tar.bz2
scummvm-rg350-90a453a53434dc16dfa07ca97c925e437ea9e785.zip
ADL: Add support for .d13 disk images
-rw-r--r--engines/adl/disk.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/adl/disk.cpp b/engines/adl/disk.cpp
index 2c1fe8e767..6952fb973d 100644
--- a/engines/adl/disk.cpp
+++ b/engines/adl/disk.cpp
@@ -254,6 +254,11 @@ bool DiskImage::open(const Common::String &filename) {
_tracks = 35;
_sectorsPerTrack = 16;
_bytesPerSector = 256;
+ } else if (lcName.hasSuffix(".d13")) {
+ _stream = readImage(filename);
+ _tracks = 35;
+ _sectorsPerTrack = 13;
+ _bytesPerSector = 256;
} else if (lcName.hasSuffix(".nib")) {
_stream = readImage_NIB(filename);
_tracks = 35;