ch376: Fix typo that GCC caught and Clang didn't! [R. Belmont]

This commit is contained in:
arbee 2021-05-08 16:40:28 -04:00
parent 2221a1c112
commit 3ee1c18a65

View File

@ -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)
{