Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kronos2308 committed Apr 14, 2024
1 parent 48d4fc2 commit a99807c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/nspmini/install/nsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ namespace tin::install::nsp

NcmContentInfo cnmtContentInfo;
cnmtContentInfo.content_id = cnmtContentId;
*(u64*)&cnmtContentInfo.size = cnmtNcaSize & 0xFFFFFFFFFFFF;
*(u64*)&cnmtContentInfo.size_high = cnmtNcaSize & 0xFFFFFFFFFFFF;
cnmtContentInfo.content_type = NcmContentType_Meta;

CNMTList.push_back( { tin::util::GetContentMetaFromNCA(cnmtNCAFullPath), cnmtContentInfo } );
Expand Down
2 changes: 1 addition & 1 deletion source/nspmini/nx/fs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ namespace nx::fs
path.reserve(FS_MAX_PATH);

std::string errorMsg = "Failed to open file system with id: " + path;
rc = fsOpenFileSystemWithId(&m_fileSystem, titleId, fileSystemType, path.c_str());
rc = fsOpenFileSystemWithId(&m_fileSystem, titleId, fileSystemType, path.c_str(),FsContentAttributes_All);

if (rc == 0x236e02)
errorMsg = "File " + path + " is unreadable! You may have a bad dump, fs_mitm may need to be removed, or your firmware version may be too low to decrypt it.";
Expand Down

0 comments on commit a99807c

Please sign in to comment.