diff --git a/src/devices/machine/ch376.cpp b/src/devices/machine/ch376.cpp index 0b62e0a9076..a59bb3787ce 100644 --- a/src/devices/machine/ch376.cpp +++ b/src/devices/machine/ch376.cpp @@ -426,7 +426,7 @@ bool ch376_device::generateNextDirEntry() if (ourEntry->type == osd::directory::entry::entry_type::DIR) { strncpy(reinterpret_cast(&m_dataBuffer[1]), ourEntry->name, 8); - m_dataBuffer[0xc] == 0x10; // directory type + m_dataBuffer[0xc] = 0x10; // directory type } else if (ourEntry->type == osd::directory::entry::entry_type::FILE) {