mirror of
https://github.com/NinjaCheetah/rustii.git
synced 2026-03-18 23:27:48 -04:00
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:
@@ -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] {
|
||||
|
||||
Reference in New Issue
Block a user