Add support for BC7 encryption

This commit is contained in:
2026-03-25 12:44:38 +08:00
parent fd5b78e788
commit 2b6df23b9e
4 changed files with 192 additions and 4 deletions

View File

@@ -1140,6 +1140,11 @@ impl VirtualPsbFixed {
self.header
}
/// Return a mutable reference to the header of the PSB.
pub fn header_mut(&mut self) -> &mut PsbHeader {
&mut self.header
}
/// Returns a reference to the resources of the PSB.
pub fn resources(&self) -> &Vec<Vec<u8>> {
&self.resources