Make the comment optional in YAML. Remove the superfluous 'filename' field from the test YAML.

This commit is contained in:
Bas Wiel, van de 2024-05-03 18:06:34 +02:00
parent 22c9e546cf
commit a19653a46b
2 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,7 @@ pub struct GameMetadata {
title: String,
publisher: String,
year: u32,
comment: String,
comment: Option<String>,
}
impl fmt::Display for GameMetadata {

View File

@ -3,8 +3,6 @@ metadata:
title: Alley Cat
publisher: IBM
year: 1984
comment: Testing DOSContainer, not functional yet.
filename: alleycat.zip
diskname: alleycat.vhd
disktype: pcxt
disksize: 10