WIP: Initial commit for savefile migration #133
2 changed files with 3 additions and 1 deletions
|
@ -1,2 +1,4 @@
|
||||||
pub mod gpu;
|
pub mod gpu;
|
||||||
pub mod settings;
|
pub mod settings;
|
||||||
|
|
||||||
|
pub const APP_ID_UNKNOWN: u64 = u64::MAX;
|
||||||
|
|
|
@ -51,7 +51,7 @@ impl From<OldSettingsJson> for FileJson {
|
||||||
Self {
|
Self {
|
||||||
version: LATEST_VERSION,
|
version: LATEST_VERSION,
|
||||||
name: old_settings.name.clone(),
|
name: old_settings.name.clone(),
|
||||||
app_id: todo!(),
|
app_id: super::APP_ID_UNKNOWN, // `u64::MAX`, sentinel value.
|
||||||
variants,
|
variants,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue