mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-26 06:07:45 +00:00
Make apply_patch public
This commit is contained in:
parent
952b06cd76
commit
d87694df4d
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ impl From<binrw::Error> for PatchError {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Applies a boot or a game patch to the specified _data_dir_.
|
/// 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)?;
|
let mut file = File::open(patch_path)?;
|
||||||
|
|
||||||
PatchHeader::read(&mut file)?;
|
PatchHeader::read(&mut file)?;
|
||||||
|
|
Loading…
Add table
Reference in a new issue