summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-05 08:18:16 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-01-05 08:18:16 +0100
commit4f13e270c8c63f86a135426e381eef7d4837e5a4 (patch)
treea6c9a29f9bf481c353ab9c5349e82d6c9d7dc5be /src/core/hle/kernel
parentMerge pull request #5292 from ReinUsesLisp/empty-set (diff)
downloadyuzu-4f13e270c8c63f86a135426e381eef7d4837e5a4.tar
yuzu-4f13e270c8c63f86a135426e381eef7d4837e5a4.tar.gz
yuzu-4f13e270c8c63f86a135426e381eef7d4837e5a4.tar.bz2
yuzu-4f13e270c8c63f86a135426e381eef7d4837e5a4.tar.lz
yuzu-4f13e270c8c63f86a135426e381eef7d4837e5a4.tar.xz
yuzu-4f13e270c8c63f86a135426e381eef7d4837e5a4.tar.zst
yuzu-4f13e270c8c63f86a135426e381eef7d4837e5a4.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/memory/address_space_info.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/memory/address_space_info.cpp b/src/core/hle/kernel/memory/address_space_info.cpp
index e4288cab4..6cf43ba24 100644
--- a/src/core/hle/kernel/memory/address_space_info.cpp
+++ b/src/core/hle/kernel/memory/address_space_info.cpp
@@ -96,6 +96,7 @@ u64 AddressSpaceInfo::GetAddressSpaceStart(std::size_t width, Type type) {
return AddressSpaceInfos[AddressSpaceIndices39Bit[index]].address;
}
UNREACHABLE();
+ return 0;
}
std::size_t AddressSpaceInfo::GetAddressSpaceSize(std::size_t width, Type type) {
@@ -112,6 +113,7 @@ std::size_t AddressSpaceInfo::GetAddressSpaceSize(std::size_t width, Type type)
return AddressSpaceInfos[AddressSpaceIndices39Bit[index]].size;
}
UNREACHABLE();
+ return 0;
}
} // namespace Kernel::Memory