summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/savedata_factory.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-05 03:29:24 +0200
committerLioncash <mathew1800@gmail.com>2019-04-05 17:04:01 +0200
commitc05c8a7a065a60f586fe617bf6af0814064eb903 (patch)
treec1af6d1714f08cba21f3c1089df5dfcbf55c03b7 /src/core/file_sys/savedata_factory.cpp
parentservice/fsp_srv: Remove unnecessary unknown member in OpenSaveDataFileSystem (diff)
downloadyuzu-c05c8a7a065a60f586fe617bf6af0814064eb903.tar
yuzu-c05c8a7a065a60f586fe617bf6af0814064eb903.tar.gz
yuzu-c05c8a7a065a60f586fe617bf6af0814064eb903.tar.bz2
yuzu-c05c8a7a065a60f586fe617bf6af0814064eb903.tar.lz
yuzu-c05c8a7a065a60f586fe617bf6af0814064eb903.tar.xz
yuzu-c05c8a7a065a60f586fe617bf6af0814064eb903.tar.zst
yuzu-c05c8a7a065a60f586fe617bf6af0814064eb903.zip
Diffstat (limited to 'src/core/file_sys/savedata_factory.cpp')
-rw-r--r--src/core/file_sys/savedata_factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/savedata_factory.cpp b/src/core/file_sys/savedata_factory.cpp
index aba7249b5..7974b031d 100644
--- a/src/core/file_sys/savedata_factory.cpp
+++ b/src/core/file_sys/savedata_factory.cpp
@@ -30,7 +30,7 @@ SaveDataFactory::SaveDataFactory(VirtualDir save_directory) : dir(std::move(save
SaveDataFactory::~SaveDataFactory() = default;
-ResultVal<VirtualDir> SaveDataFactory::Open(SaveDataSpaceId space, SaveDataDescriptor meta) {
+ResultVal<VirtualDir> SaveDataFactory::Open(SaveDataSpaceId space, const SaveDataDescriptor& meta) {
if (meta.type == SaveDataType::SystemSaveData || meta.type == SaveDataType::SaveData) {
if (meta.zero_1 != 0) {
LOG_WARNING(Service_FS,