diff options
| author | 2018-12-21 14:12:54 -0500 | |
|---|---|---|
| committer | 2018-12-21 14:12:54 -0500 | |
| commit | e75e8b9580581d1258154d51ac03893386a500e5 (patch) | |
| tree | 625619fea43e1340d39132f660a476c291974860 /src/core/file_sys | |
| parent | Merge pull request #1920 from heapo/texture_format_selection (diff) | |
| parent | hopefully fix clang format issue (diff) | |
| download | yuzu-e75e8b9580581d1258154d51ac03893386a500e5.tar.gz yuzu-e75e8b9580581d1258154d51ac03893386a500e5.tar.xz yuzu-e75e8b9580581d1258154d51ac03893386a500e5.zip | |
Merge pull request #1921 from ogniK5377/no-unit
Fixed uninitialized memory due to missing returns in canary
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/savedata_factory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/file_sys/savedata_factory.cpp b/src/core/file_sys/savedata_factory.cpp index bd50fedc7..d63b7f19b 100644 --- a/src/core/file_sys/savedata_factory.cpp +++ b/src/core/file_sys/savedata_factory.cpp | |||
| @@ -128,6 +128,7 @@ std::string SaveDataFactory::GetFullPath(SaveDataSpaceId space, SaveDataType typ | |||
| 128 | return fmt::format("{}save/cache/{:016X}", out, title_id); | 128 | return fmt::format("{}save/cache/{:016X}", out, title_id); |
| 129 | default: | 129 | default: |
| 130 | ASSERT_MSG(false, "Unrecognized SaveDataType: {:02X}", static_cast<u8>(type)); | 130 | ASSERT_MSG(false, "Unrecognized SaveDataType: {:02X}", static_cast<u8>(type)); |
| 131 | return fmt::format("{}save/unknown_{:X}/{:016X}", out, static_cast<u8>(type), title_id); | ||
| 131 | } | 132 | } |
| 132 | } | 133 | } |
| 133 | 134 | ||