summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/file_sys/content_archive.cpp2
-rw-r--r--src/shader_recompiler/frontend/maxwell/control_flow.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp
index 93f784418..78e56bbbd 100644
--- a/src/core/file_sys/content_archive.cpp
+++ b/src/core/file_sys/content_archive.cpp
@@ -419,7 +419,7 @@ std::optional<Core::Crypto::Key128> NCA::GetKeyAreaKey(NCASectionCryptoType type
419 Core::Crypto::Mode::ECB); 419 Core::Crypto::Mode::ECB);
420 cipher.Transcode(key_area.data(), key_area.size(), key_area.data(), Core::Crypto::Op::Decrypt); 420 cipher.Transcode(key_area.data(), key_area.size(), key_area.data(), Core::Crypto::Op::Decrypt);
421 421
422 Core::Crypto::Key128 out; 422 Core::Crypto::Key128 out{};
423 if (type == NCASectionCryptoType::XTS) { 423 if (type == NCASectionCryptoType::XTS) {
424 std::copy(key_area.begin(), key_area.begin() + 0x10, out.begin()); 424 std::copy(key_area.begin(), key_area.begin() + 0x10, out.begin());
425 } else if (type == NCASectionCryptoType::CTR || type == NCASectionCryptoType::BKTR) { 425 } else if (type == NCASectionCryptoType::CTR || type == NCASectionCryptoType::BKTR) {
diff --git a/src/shader_recompiler/frontend/maxwell/control_flow.h b/src/shader_recompiler/frontend/maxwell/control_flow.h
index 2487b9b0b..1ce45b3a5 100644
--- a/src/shader_recompiler/frontend/maxwell/control_flow.h
+++ b/src/shader_recompiler/frontend/maxwell/control_flow.h
@@ -58,7 +58,7 @@ public:
58 [[nodiscard]] Stack Remove(Token token) const; 58 [[nodiscard]] Stack Remove(Token token) const;
59 59
60private: 60private:
61 boost::container::small_vector<StackEntry, 3> entries; 61 std::vector<StackEntry> entries;
62}; 62};
63 63
64struct IndirectBranch { 64struct IndirectBranch {