From 3ee1c18a6598016e33778d14440af35f43d7cbaa Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 8 May 2021 16:40:28 -0400 Subject: [PATCH] ch376: Fix typo that GCC caught and Clang didn't! [R. Belmont] --- src/devices/machine/ch376.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {