Update for libnx v2.3.0 FsBisStorageId syntax

This commit is contained in:
shchmue
2019-08-04 09:47:46 -06:00
parent b65668144f
commit 0c6bb239f0
2 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ void KeyLocation::get_from_memory(u64 tid, u8 seg_mask) {
void KeyLocation::get_keyblobs() {
FsStorage boot0;
fsOpenBisStorage(&boot0, 0);
fsOpenBisStorage(&boot0, FsBisStorageId_Boot0);
data.resize(0x200 * KNOWN_KEYBLOBS);
fsStorageRead(&boot0, KEYBLOB_OFFSET, data.data(), data.size());
fsStorageClose(&boot0);