mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
GCMemcardDirectory: Clarify data writing in FlushToFile().
This commit is contained in:
@ -629,7 +629,8 @@ void GCMemcardDirectory::FlushToFile()
|
|||||||
if (gci)
|
if (gci)
|
||||||
{
|
{
|
||||||
gci.WriteBytes(&save.m_gci_header, Memcard::DENTRY_SIZE);
|
gci.WriteBytes(&save.m_gci_header, Memcard::DENTRY_SIZE);
|
||||||
gci.WriteBytes(save.m_save_data.data(), Memcard::BLOCK_SIZE * save.m_save_data.size());
|
for (const Memcard::GCMBlock& block : save.m_save_data)
|
||||||
|
gci.WriteBytes(block.m_block.data(), Memcard::BLOCK_SIZE);
|
||||||
|
|
||||||
if (gci.IsGood())
|
if (gci.IsGood())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user