diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/file_sys/savedata_factory.cpp | 1 | ||||
| -rw-r--r-- | src/core/hle/kernel/object.cpp | 1 | ||||
| -rw-r--r-- | src/core/memory.cpp | 1 |
3 files changed, 3 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 | ||
diff --git a/src/core/hle/kernel/object.cpp b/src/core/hle/kernel/object.cpp index 0ea851a74..806078638 100644 --- a/src/core/hle/kernel/object.cpp +++ b/src/core/hle/kernel/object.cpp | |||
| @@ -32,6 +32,7 @@ bool Object::IsWaitable() const { | |||
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | UNREACHABLE(); | 34 | UNREACHABLE(); |
| 35 | return false; | ||
| 35 | } | 36 | } |
| 36 | 37 | ||
| 37 | } // namespace Kernel | 38 | } // namespace Kernel |
diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 643afdee8..e9166dbd9 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp | |||
| @@ -187,6 +187,7 @@ T Read(const VAddr vaddr) { | |||
| 187 | default: | 187 | default: |
| 188 | UNREACHABLE(); | 188 | UNREACHABLE(); |
| 189 | } | 189 | } |
| 190 | return {}; | ||
| 190 | } | 191 | } |
| 191 | 192 | ||
| 192 | template <typename T> | 193 | template <typename T> |