summaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2018-12-21 14:12:54 -0500
committerGravatar GitHub2018-12-21 14:12:54 -0500
commite75e8b9580581d1258154d51ac03893386a500e5 (patch)
tree625619fea43e1340d39132f660a476c291974860 /src/core/memory.cpp
parentMerge pull request #1920 from heapo/texture_format_selection (diff)
parenthopefully fix clang format issue (diff)
downloadyuzu-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/memory.cpp')
-rw-r--r--src/core/memory.cpp1
1 files changed, 1 insertions, 0 deletions
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
192template <typename T> 193template <typename T>