Skip to content

Commit 0b4803c

Browse files
committed
Bump MAX_SIZE to support dumping Turin 1.0.0.4.
1 parent fb4e63c commit 0b4803c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apcb.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ impl<'a> Apcb<'a> {
442442
const ROME_VERSION: u16 = 0x30;
443443
const V3_HEADER_EXT_SIZE: usize =
444444
size_of::<V2_HEADER>() + size_of::<V3_HEADER_EXT>();
445-
pub const MAX_SIZE: usize = 0x8000;
445+
pub const MAX_SIZE: usize = 0x10000;
446446

447447
pub fn header(&self) -> Result<LayoutVerified<&[u8], V2_HEADER>> {
448448
LayoutVerified::<&[u8], V2_HEADER>::new_unaligned_from_prefix(

0 commit comments

Comments
 (0)