Finally done serializing.
This commit is contained in:
		
							parent
							
								
									ec37b1d583
								
							
						
					
					
						commit
						8d8faf105a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue