fs.mitm: fix two cases of inverted logic

This commit is contained in:
Michael Scire
2019-03-07 19:53:21 -08:00
parent b42d16cf1c
commit 66560d0a7b
2 changed files with 4 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ Result FsMitmService::OpenBisStorage(Out<std::shared_ptr<IStorageInterface>> out
FsStorage bis_storage;
rc = fsOpenBisStorageFwd(this->forward_service.get(), &bis_storage, bis_partition_id);
if (R_SUCCEEDED(rc)) {
const bool is_sysmodule = this->title_id < 0x0100000000001000;
const bool is_sysmodule = this->title_id < 0x0100000000001000ul;
const bool has_bis_write_flag = Utils::HasFlag(this->title_id, "bis_write");
const bool has_cal0_read_flag = Utils::HasFlag(this->title_id, "cal_read");
if (bis_partition_id == BisStorageId_Boot0) {