mirror of
https://github.com/holub/mame
synced 2025-07-02 00:29:37 +03:00
Merge pull request #5547 from 68bit/flexdsk-fix-disk-name-ext-log
flex_dsk: fix the logging of the disk name extension
This commit is contained in:
commit
089c71eabc
@ -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]) {
|
if (info.disk_ext[0] || info.disk_ext[1] || info.disk_ext[2]) {
|
||||||
LOG_FORMATS(".");
|
LOG_FORMATS(".");
|
||||||
for (int i = 0; i < sizeof(info.disk_name); i++) {
|
for (int i = 0; i < sizeof(info.disk_ext); i++) {
|
||||||
uint8_t ch = info.disk_name[i];
|
uint8_t ch = info.disk_ext[i];
|
||||||
if (ch < 0x20 || ch > 0x7f) {
|
if (ch < 0x20 || ch > 0x7f) {
|
||||||
LOG_FORMATS("[%02x]", ch);
|
LOG_FORMATS("[%02x]", ch);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user