From d87694df4d93d3ada9d6d4c1e7f4d27e530a7380 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 13 Oct 2022 15:43:51 -0400 Subject: [PATCH] Make apply_patch public --- src/patch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)?;