diff --git a/src/patch.rs b/src/patch.rs index 7723f0a..1f96643 100755 --- a/src/patch.rs +++ b/src/patch.rs @@ -390,7 +390,7 @@ impl From for PatchError { } /// Applies a boot or a game patch to the specified _data_dir_. -pub(crate) fn apply_patch(data_dir: &str, patch_path: &str) -> Result<(), PatchError> { +pub fn apply_patch(data_dir: &str, patch_path: &str) -> Result<(), PatchError> { let mut file = File::open(patch_path)?; PatchHeader::read(&mut file)?;