diff --git a/Storage/Disk/DiskImage/Formats/MSXDSK.cpp b/Storage/Disk/DiskImage/Formats/MSXDSK.cpp index 014845ed3..c4b0fe85a 100644 --- a/Storage/Disk/DiskImage/Formats/MSXDSK.cpp +++ b/Storage/Disk/DiskImage/Formats/MSXDSK.cpp @@ -55,5 +55,5 @@ int MSXDSK::get_head_count() { } long MSXDSK::get_file_offset_for_position(Track::Address address) { - return (address.position*2 + address.head) * 512 * 9; + return (address.position*head_count_ + address.head) * 512 * 9; }