Finally done serializing.
This commit is contained in:
parent
ec37b1d583
commit
8d8faf105a
|
@ -19,11 +19,13 @@ pub mod rom;
|
|||
pub struct InvalidEnumError<T>(PhantomData<T>);
|
||||
|
||||
#[derive(Deserialize, Serialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Patch {
|
||||
pub address: usize,
|
||||
pub patch_data: Vec<u8>,
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct PatchSet {
|
||||
filename: PathBuf,
|
||||
patches: Vec<Patch>,
|
||||
|
|
Loading…
Reference in a new issue