summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ch376.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ch376.cpp')
-rw-r--r--src/devices/machine/ch376.cpp2
1 files changed, 1 insertions, 1 deletions
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<char *>(&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)
{