1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-06-07 23:27:45 +00:00

Mention more NOPs when reading ZiPatch

This commit is contained in:
Joshua Goins 2024-06-29 12:43:55 -04:00
parent 6869e98f9d
commit 36d09195fa

View file

@ -632,20 +632,24 @@ pub fn apply_patch(data_dir: &str, patch_path: &str) -> Result<(), PatchError> {
} }
SqpkOperation::PatchInfo(_) => { SqpkOperation::PatchInfo(_) => {
// Currently, there's nothing we need from PatchInfo. Intentional NOP. // Currently, there's nothing we need from PatchInfo. Intentional NOP.
debug!("PATCH: NOP PatchInfo");
} }
SqpkOperation::TargetInfo(new_target_info) => { SqpkOperation::TargetInfo(new_target_info) => {
target_info = Some(new_target_info); target_info = Some(new_target_info);
} }
SqpkOperation::Index(_) => { SqpkOperation::Index(_) => {
// Currently, there's nothing we need from Index command. Intentional NOP. // Currently, there's nothing we need from Index command. Intentional NOP.
debug!("PATCH: NOP Index");
} }
} }
} }
ChunkType::FileHeader(_) => { ChunkType::FileHeader(_) => {
// Currently there's nothing very useful in the FileHeader, so it's an intentional NOP. // Currently there's nothing very useful in the FileHeader, so it's an intentional NOP.
debug!("PATCH: NOP FileHeader");
} }
ChunkType::ApplyOption(_) => { ChunkType::ApplyOption(_) => {
// Currently, IgnoreMissing and IgnoreOldMismatch is not used in XIVQuickLauncher either. This stays as an intentional NOP. // Currently, IgnoreMissing and IgnoreOldMismatch is not used in XIVQuickLauncher either. This stays as an intentional NOP.
debug!("PATCH: NOP ApplyOption");
} }
ChunkType::AddDirectory(_) => { ChunkType::AddDirectory(_) => {
debug!("PATCH: NOP AddDirectory"); debug!("PATCH: NOP AddDirectory");