mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-22 12:47:45 +00:00
Propagate patch errors for BootData too
This commit is contained in:
parent
8c3f848918
commit
e172433b00
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
use std::fs;
|
||||
use std::path::PathBuf;
|
||||
use crate::gamedata::MemoryBuffer;
|
||||
use crate::patch::apply_patch;
|
||||
use crate::patch::{apply_patch, PatchError};
|
||||
|
||||
/// Boot data for FFXIV.
|
||||
pub struct BootData {
|
||||
|
@ -46,7 +46,7 @@ impl BootData {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn apply_patch(&self, patch_path : &str) {
|
||||
apply_patch(&self.path, patch_path);
|
||||
pub fn apply_patch(&self, patch_path : &str) -> Result<(), PatchError> {
|
||||
apply_patch(&self.path, patch_path)
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue