mirror of https://github.com/PCSX2/pcsx2.git
MemoryCardFolder: Initialize hostFilePath
This commit is contained in:
parent
d5e3d02a98
commit
7ac224adf3
|
@ -2021,6 +2021,7 @@ std::FILE* FileAccessHelper::Open(const std::string_view& folderName, MemoryCard
|
||||||
MemoryCardFileHandleStructure handleStruct;
|
MemoryCardFileHandleStructure handleStruct;
|
||||||
handleStruct.fileHandle = file;
|
handleStruct.fileHandle = file;
|
||||||
handleStruct.fileRef = fileRef;
|
handleStruct.fileRef = fileRef;
|
||||||
|
handleStruct.hostFilePath = std::move(filename);
|
||||||
m_files.emplace(std::move(internalPath), std::move(handleStruct));
|
m_files.emplace(std::move(internalPath), std::move(handleStruct));
|
||||||
|
|
||||||
if (writeMetadata)
|
if (writeMetadata)
|
||||||
|
|
Loading…
Reference in New Issue