forked from akanyan/STARTLINER
feat: chuniio
This commit is contained in:
@ -13,6 +13,14 @@ pub enum Aime {
|
||||
Other(PkgKey),
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Serialize, Clone, Default, PartialEq, Debug)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum IOSelection {
|
||||
Hardware,
|
||||
#[default] SegatoolsBuiltIn,
|
||||
Custom(PkgKey)
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Serialize, Clone, Debug)]
|
||||
#[serde(default)]
|
||||
pub struct AMNet {
|
||||
@ -32,7 +40,9 @@ impl Default for AMNet {
|
||||
pub struct Segatools {
|
||||
pub target: PathBuf,
|
||||
pub hook: Option<PkgKey>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub io: Option<PkgKey>,
|
||||
pub io2: IOSelection,
|
||||
pub aime: Aime,
|
||||
pub amfs: PathBuf,
|
||||
pub option: PathBuf,
|
||||
@ -51,6 +61,7 @@ impl Segatools {
|
||||
Game::Chunithm => Some(PkgKey("segatools-chusanhook".to_owned()))
|
||||
},
|
||||
io: None,
|
||||
io2: IOSelection::SegatoolsBuiltIn,
|
||||
amfs: PathBuf::default(),
|
||||
option: PathBuf::default(),
|
||||
appdata: PathBuf::from("appdata"),
|
||||
|
Reference in New Issue
Block a user