diff options
author | LC <mathew1800@gmail.com> | 2020-10-21 04:08:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 04:08:53 +0200 |
commit | 2e74b79e89fe1e6a21fe0d8650844e563b3c32f5 (patch) | |
tree | 0dbc65ac86e609ae22087c7be9d4759ac6b73004 /src/core/crypto/partition_data_manager.cpp | |
parent | kernel: Fix build with recent compiler flag changes (diff) | |
parent | Revert "core: Fix clang build" (diff) | |
download | yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.gz yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.bz2 yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.lz yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.xz yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.zst yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.zip |
Diffstat (limited to 'src/core/crypto/partition_data_manager.cpp')
-rw-r--r-- | src/core/crypto/partition_data_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/crypto/partition_data_manager.cpp b/src/core/crypto/partition_data_manager.cpp index db54f71f4..5f1c86a09 100644 --- a/src/core/crypto/partition_data_manager.cpp +++ b/src/core/crypto/partition_data_manager.cpp @@ -161,7 +161,7 @@ static constexpr u8 CalculateMaxKeyblobSourceHash() { return true; }; - for (std::size_t i = 0x1F; i <= 0x1F; --i) { + for (s8 i = 0x1F; i >= 0; --i) { if (!is_zero(keyblob_source_hashes[i])) { return static_cast<u8>(i + 1); } |