From 8d8faf105ab52e82310282e8ec1f950707bd19e7 Mon Sep 17 00:00:00 2001 From: Lyle Mantooth Date: Sat, 4 Jun 2022 15:28:21 -0400 Subject: [PATCH] Finally done serializing. --- enemize/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/enemize/src/lib.rs b/enemize/src/lib.rs index 63e07af..a499767 100644 --- a/enemize/src/lib.rs +++ b/enemize/src/lib.rs @@ -19,11 +19,13 @@ pub mod rom; pub struct InvalidEnumError(PhantomData); #[derive(Deserialize, Serialize)] +#[serde(rename_all = "camelCase")] pub struct Patch { pub address: usize, pub patch_data: Vec, } +#[derive(Default)] pub struct PatchSet { filename: PathBuf, patches: Vec,