diff options
author | Liam <byteslice@airmail.cc> | 2023-10-11 21:08:00 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-10-20 08:34:15 +0200 |
commit | d8507332c116f3b5d39a8ac6ad5fd66a6a2914f8 (patch) | |
tree | 10c9958742531f3b5b62d210fcb8568cde72bd13 | |
parent | codespell: allow 'VAs' (diff) | |
download | yuzu-d8507332c116f3b5d39a8ac6ad5fd66a6a2914f8.tar yuzu-d8507332c116f3b5d39a8ac6ad5fd66a6a2914f8.tar.gz yuzu-d8507332c116f3b5d39a8ac6ad5fd66a6a2914f8.tar.bz2 yuzu-d8507332c116f3b5d39a8ac6ad5fd66a6a2914f8.tar.lz yuzu-d8507332c116f3b5d39a8ac6ad5fd66a6a2914f8.tar.xz yuzu-d8507332c116f3b5d39a8ac6ad5fd66a6a2914f8.tar.zst yuzu-d8507332c116f3b5d39a8ac6ad5fd66a6a2914f8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/kernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 6f19860a1..24433d32b 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -636,7 +636,7 @@ struct KernelCore::Impl { constexpr size_t SecureUnknownRegionSize = 0; const size_t secure_unknown_size = SecureUnknownRegionSize; const auto secure_unknown_end_phys_addr = secure_applet_end_phys_addr + secure_unknown_size; - if (secure_unknown_size > 0) { + if constexpr (SecureUnknownRegionSize > 0) { ASSERT(memory_layout->GetPhysicalMemoryRegionTree().Insert( GetInteger(secure_applet_end_phys_addr), secure_unknown_size, KMemoryRegionType_DramKernelSecureUnknown)); |