summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
authorGravatarGravatar Tom <37988779+TwistedTom@users.noreply.github.com>2019-11-21 15:52:10 +0000
committerGravatarGravatar Vas Crabb <cuavas@users.noreply.github.com>2019-11-22 02:52:10 +1100
commitb4003648241f11e79808dba23e9c2db2c782d3f7 (patch)
tree4aa4b956be3bc7785ab43e703bee7afd0f71a793 /src/lib
parentc38f63c10afec9cd90ba48514a180344cb005762 (diff)
new working ZX Spectrum slot devices: DISCiPLE and +D disk interfaces (#5931)
* plusd working (rom patch) * plusd done * added disciple, not working * disciple working * wd_fdc fix * final tidy-up * ready for pr * Pernod70 changes * cuavas changes #1 * combine devices + files * sort out side_effects
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/formats/coupedsk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/coupedsk.cpp b/src/lib/formats/coupedsk.cpp
index 803f69bbbb7..045e42b7bb5 100644
--- a/src/lib/formats/coupedsk.cpp
+++ b/src/lib/formats/coupedsk.cpp
@@ -115,7 +115,7 @@ bool mgt_format::save(io_generic *io, floppy_image *image)
for(int head=0; head < 2; head++) {
for(int track=0; track < 80; track++) {
get_track_data_mfm_pc(track, head, image, 2000, 512, sector_count, sectdata);
- io_generic_write(io, sectdata, (head*80 + track)*track_size, track_size);
+ io_generic_write(io, sectdata, (track*2+head)*track_size, track_size);
}
}