Browse Source

Merge pull request 'change patch chunk size to 24kb for the client and remove duplicate' (#20) from unitxt into master

Reviewed-on: #20
pull/21/head
jake 3 years ago
parent
commit
b3beb87874
  1. 1
      src/packet/login.rs
  2. 2
      src/packet/patch.rs

1
src/packet/login.rs

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

2
src/packet/patch.rs

@ -3,7 +3,7 @@ use crate::{PSOPacket, PacketParseError, PSOPacketData};
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)]
type u8_str = u8;

Loading…
Cancel
Save