summaryrefslogtreecommitdiffstats
path: root/src/core/crypto
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-02 04:37:51 +0100
committerLioncash <mathew1800@gmail.com>2018-12-02 04:37:51 +0100
commita8aca4306dcaceefa38f01e2514f2cca722813d7 (patch)
treec15e38179639f4df8b3a2b2dfeddf679e11fde22 /src/core/crypto
parentFix debug build (diff)
downloadyuzu-a8aca4306dcaceefa38f01e2514f2cca722813d7.tar
yuzu-a8aca4306dcaceefa38f01e2514f2cca722813d7.tar.gz
yuzu-a8aca4306dcaceefa38f01e2514f2cca722813d7.tar.bz2
yuzu-a8aca4306dcaceefa38f01e2514f2cca722813d7.tar.lz
yuzu-a8aca4306dcaceefa38f01e2514f2cca722813d7.tar.xz
yuzu-a8aca4306dcaceefa38f01e2514f2cca722813d7.tar.zst
yuzu-a8aca4306dcaceefa38f01e2514f2cca722813d7.zip
Diffstat (limited to 'src/core/crypto')
-rw-r--r--src/core/crypto/key_manager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index 904afa039..291624cbe 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -246,7 +246,6 @@ std::vector<TicketRaw> GetTicketblob(const FileUtil::IOFile& ticket_save) {
}
std::vector<TicketRaw> out;
- u32 magic{};
for (std::size_t offset = 0; offset + 0x4 < buffer.size(); ++offset) {
if (buffer[offset] == 0x4 && buffer[offset + 1] == 0x0 && buffer[offset + 2] == 0x1 &&
buffer[offset + 3] == 0x0) {