diff options
author | 2019-08-25 20:20:24 -0400 | |
---|---|---|
committer | 2019-08-25 20:20:24 -0400 | |
commit | b9d0daa821d17e96064d92fd6df296a5824cdb4b (patch) | |
tree | b3a6913b01c07b27dba1b8adcca3774e84bceafa /src/lib/formats/flex_dsk.cpp | |
parent | a40bc736e7343336035b96b2c5224e55a09498b2 (diff) | |
parent | 9d1b6f11a6f0ef98511787f0836bfe6ef9450630 (diff) |
Merge branch 'master' of https://github.com/mamedev/mame
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 { |