diff options
author | 2019-08-26 10:14:29 +1000 | |
---|---|---|
committer | 2019-08-26 10:14:29 +1000 | |
commit | 249f9a78d0dd4be65e666b00926189beb8486331 (patch) | |
tree | 80486a6fe165bdb49912e0ac68cbe20d5b282b79 /src/lib/formats/flex_dsk.cpp | |
parent | 5648e074e7f582690bac65495e46cf63e4f09899 (diff) |
flex_dsk: fix the logging of the disk name extension
It had been printing the disk name again.
Diffstat (limited to 'src/lib/formats/flex_dsk.cpp')
-rw-r--r-- | src/lib/formats/flex_dsk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/formats/flex_dsk.cpp b/src/lib/formats/flex_dsk.cpp index cb2dbb33b12..0d4aa038e60 100644 --- a/src/lib/formats/flex_dsk.cpp +++ b/src/lib/formats/flex_dsk.cpp @@ -91,8 +91,8 @@ int flex_format::find_size(io_generic *io, uint32_t form_factor) } if (info.disk_ext[0] || info.disk_ext[1] || info.disk_ext[2]) { LOG_FORMATS("."); - for (int i = 0; i < sizeof(info.disk_name); i++) { - uint8_t ch = info.disk_name[i]; + for (int i = 0; i < sizeof(info.disk_ext); i++) { + uint8_t ch = info.disk_ext[i]; if (ch < 0x20 || ch > 0x7f) { LOG_FORMATS("[%02x]", ch); } else { |