Added iospatcher to lib and CLI

Everything but the no-shared flag is working right now. Getting no-shared to work properly will take a little more work because right now there's nothing to guarantee that the content records are synced between the TMD and content objects in a title. This means that updating any content in a title will result in the records being out of sync and the written TMD will not match the actual state of the content when it was dumped.
To mitigate this, I intend on making the content records in the content struct a reference to the content records in the TMD, so that they are the same object and therefore always in sync.
This commit is contained in:
2026-02-27 19:05:24 -05:00
parent 02db260138
commit 0d34fbc383
20 changed files with 342 additions and 23 deletions

View File

@@ -212,6 +212,10 @@ impl Ticket {
pub fn title_version(&self) -> u16 {
self.title_version
}
pub fn set_title_version(&mut self, version: u16) {
self.title_version = version;
}
/// Gets the permitted titles mask listed in the Ticket.
pub fn permitted_titles_mask(&self) -> [u8; 4] {