summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/flex_dsk.cpp
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2019-08-25 20:20:24 -0400
committer arbee <rb6502@users.noreply.github.com>2019-08-25 20:20:24 -0400
commitb9d0daa821d17e96064d92fd6df296a5824cdb4b (patch)
treeb3a6913b01c07b27dba1b8adcca3774e84bceafa /src/lib/formats/flex_dsk.cpp
parenta40bc736e7343336035b96b2c5224e55a09498b2 (diff)
parent9d1b6f11a6f0ef98511787f0836bfe6ef9450630 (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.cpp4
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 {