Merge pull request 'change patch chunk size to 24kb for the client and remove duplicate' (#20) from unitxt into master
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #20
This commit is contained in:
jake 2022-05-12 19:54:59 -04:00
commit b3beb87874
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@ use crate::character::character::SelectScreenCharacter;
use std::io::Read; use std::io::Read;
pub const PATCH_FILE_CHUNK_SIZE: u16 = 0x8000; // 32kb
pub const GUILD_CARD_CHUNK_SIZE: usize = 0x6800; pub const GUILD_CARD_CHUNK_SIZE: usize = 0x6800;
pub const PARAM_DATA_CHUNK_SIZE: usize = 0x6800; pub const PARAM_DATA_CHUNK_SIZE: usize = 0x6800;

View File

@ -3,7 +3,7 @@ use crate::{PSOPacket, PacketParseError, PSOPacketData};
use std::io::Read; use std::io::Read;
pub const PATCH_FILE_CHUNK_SIZE: u16 = 0x8000; // 32kb pub const PATCH_FILE_CHUNK_SIZE: u16 = 0x6000; // 24kb
#[allow(non_camel_case_types)] #[allow(non_camel_case_types)]
type u8_str = u8; type u8_str = u8;