MemoryCardFolder: Initialize hostFilePath

This commit is contained in:
Stenzek 2023-08-02 18:59:35 +10:00 committed by refractionpcsx2
parent d5e3d02a98
commit 7ac224adf3
1 changed files with 1 additions and 0 deletions

View File

@ -2021,6 +2021,7 @@ std::FILE* FileAccessHelper::Open(const std::string_view& folderName, MemoryCard
MemoryCardFileHandleStructure handleStruct;
handleStruct.fileHandle = file;
handleStruct.fileRef = fileRef;
handleStruct.hostFilePath = std::move(filename);
m_files.emplace(std::move(internalPath), std::move(handleStruct));
if (writeMetadata)