diff options
author | Walter van Niftrik | 2017-08-11 15:58:41 +0200 |
---|---|---|
committer | Walter van Niftrik | 2019-07-17 09:54:14 +0200 |
commit | 14bfe02b81cf22887750a94bc703502cc82473b9 (patch) | |
tree | ab1bb61ce8a60faa02722ab772bc114ffaa18593 /engines/adl/disk.cpp | |
parent | f4f4d6119f4db550bcf7201788fd92adfa1915d0 (diff) | |
download | scummvm-rg350-14bfe02b81cf22887750a94bc703502cc82473b9.tar.gz scummvm-rg350-14bfe02b81cf22887750a94bc703502cc82473b9.tar.bz2 scummvm-rg350-14bfe02b81cf22887750a94bc703502cc82473b9.zip |
ADL: Add support for 40/8/512 PC raw disk images
Diffstat (limited to 'engines/adl/disk.cpp')
-rw-r--r-- | engines/adl/disk.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/adl/disk.cpp b/engines/adl/disk.cpp index 27bc9b318c..b2746bcee7 100644 --- a/engines/adl/disk.cpp +++ b/engines/adl/disk.cpp @@ -305,6 +305,11 @@ bool DiskImage::open(const Common::String &filename) { _sectorsPerTrack = 18; _bytesPerSector = 128; _stream = f; + } else if (lcName.hasSuffix(".img")) { + _tracks = 40; + _sectorsPerTrack = 8; + _bytesPerSector = 512; + _stream = f; } int expectedSize = _tracks * _sectorsPerTrack * _bytesPerSector; |