diff options
author | bunnei <bunneidev@gmail.com> | 2021-01-06 04:04:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 04:04:15 +0100 |
commit | dc02b03c4abd9878abce75e26bec153382835c6b (patch) | |
tree | df50002a188b9a65bf2cbd999a394273d0465666 /src/core/hle/kernel/memory | |
parent | Merge pull request #5289 from ReinUsesLisp/vulkan-device (diff) | |
parent | core: Enforce C4715 (not all control paths return a value) (diff) | |
download | yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar.gz yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar.bz2 yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar.lz yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar.xz yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.tar.zst yuzu-dc02b03c4abd9878abce75e26bec153382835c6b.zip |
Diffstat (limited to 'src/core/hle/kernel/memory')
-rw-r--r-- | src/core/hle/kernel/memory/address_space_info.cpp | 2 |
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 |