mirror of
https://github.com/holub/mame
synced 2025-04-16 05:24:54 +03:00
ch376: Fix typo that GCC caught and Clang didn't! [R. Belmont]
This commit is contained in:
parent
2221a1c112
commit
3ee1c18a65
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user