diff options
author | 2021-05-08 16:40:28 -0400 | |
---|---|---|
committer | 2021-05-08 16:40:28 -0400 | |
commit | 3ee1c18a6598016e33778d14440af35f43d7cbaa (patch) | |
tree | d5facea269585932bb2e9df59e7947ecc0bb6c2e | |
parent | 2221a1c1124851db01018999f93d55ff9145534c (diff) |
ch376: Fix typo that GCC caught and Clang didn't! [R. Belmont]
-rw-r--r-- | src/devices/machine/ch376.cpp | 2 |
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) { |