aboutsummaryrefslogtreecommitdiff
path: root/source/KeyLocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/KeyLocation.cpp')
-rw-r--r--source/KeyLocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/KeyLocation.cpp b/source/KeyLocation.cpp
index ba5cee7..eb1fe27 100644
--- a/source/KeyLocation.cpp
+++ b/source/KeyLocation.cpp
@@ -101,7 +101,7 @@ void KeyLocation::get_from_memory(u64 tid, u8 seg_mask) {
101 101
102void KeyLocation::get_keyblobs() { 102void KeyLocation::get_keyblobs() {
103 FsStorage boot0; 103 FsStorage boot0;
104 fsOpenBisStorage(&boot0, FsBisStorageId_Boot0); 104 fsOpenBisStorage(&boot0, FsBisPartitionId_BootPartition1Root);
105 data.resize(0x200 * KNOWN_KEYBLOBS); 105 data.resize(0x200 * KNOWN_KEYBLOBS);
106 fsStorageRead(&boot0, KEYBLOB_OFFSET, data.data(), data.size()); 106 fsStorageRead(&boot0, KEYBLOB_OFFSET, data.data(), data.size());
107 fsStorageClose(&boot0); 107 fsStorageClose(&boot0);