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

@ -474,7 +474,7 @@ void KeyCollection::derive_keys() {
FRESULT fr;
FIL save_file;
fsOpenBisStorage(&storage, 31);
fsOpenBisStorage(&storage, FsBisStorageId_System);
if (f_mount(&fs, "", 1) ||
f_chdir("/save") ||
f_open(&save_file, "8000000000000043", FA_READ | FA_OPEN_EXISTING))
@ -634,7 +634,7 @@ void KeyCollection::get_titlekeys() {
// map of all found rights ids and corresponding titlekeys
std::unordered_map<std::string, std::string> titlekeys;
fsOpenBisStorage(&storage, 31);
fsOpenBisStorage(&storage, FsBisStorageId_System);
if (f_mount(&fs, "", 1) || f_chdir("/save")) return;
if (f_open(&save_file, "80000000000000e1", FA_READ | FA_OPEN_EXISTING)) return;
while ((common_count != 0) && (titlekeys_dumped < common_count)) {