From 7ac224adf396cd1e021dbb85087d7a1b8391caa7 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 2 Aug 2023 18:59:35 +1000 Subject: [PATCH] MemoryCardFolder: Initialize hostFilePath --- pcsx2/SIO/Memcard/MemoryCardFolder.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/SIO/Memcard/MemoryCardFolder.cpp b/pcsx2/SIO/Memcard/MemoryCardFolder.cpp index da7dbdedb1..e124978682 100644 --- a/pcsx2/SIO/Memcard/MemoryCardFolder.cpp +++ b/pcsx2/SIO/Memcard/MemoryCardFolder.cpp @@ -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)