diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-23 22:37:54 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-23 22:37:57 +0200 |
commit | 85db5f4091b62ea7be17251b135374858d9e52c7 (patch) | |
tree | c0fa9e9affde1234ea5a31c4b9abb785dbfe1007 /src/core/hle | |
parent | Merge pull request #4546 from lioncash/telemetry (diff) | |
download | yuzu-85db5f4091b62ea7be17251b135374858d9e52c7.tar yuzu-85db5f4091b62ea7be17251b135374858d9e52c7.tar.gz yuzu-85db5f4091b62ea7be17251b135374858d9e52c7.tar.bz2 yuzu-85db5f4091b62ea7be17251b135374858d9e52c7.tar.lz yuzu-85db5f4091b62ea7be17251b135374858d9e52c7.tar.xz yuzu-85db5f4091b62ea7be17251b135374858d9e52c7.tar.zst yuzu-85db5f4091b62ea7be17251b135374858d9e52c7.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp index 26fd87f58..84ff1ff89 100644 --- a/src/core/hle/service/filesystem/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp_srv.cpp @@ -844,8 +844,7 @@ void FSP_SRV::OpenSaveDataFileSystem(Kernel::HLERequestContext& ctx) { return; } - FileSys::StorageId id; - + FileSys::StorageId id{}; switch (parameters.space_id) { case FileSys::SaveDataSpaceId::NandUser: id = FileSys::StorageId::NandUser; @@ -857,6 +856,10 @@ void FSP_SRV::OpenSaveDataFileSystem(Kernel::HLERequestContext& ctx) { case FileSys::SaveDataSpaceId::NandSystem: id = FileSys::StorageId::NandSystem; break; + case FileSys::SaveDataSpaceId::TemporaryStorage: + case FileSys::SaveDataSpaceId::ProperSystem: + case FileSys::SaveDataSpaceId::SafeMode: + UNREACHABLE(); } auto filesystem = |