WIP: Initial commit for savefile migration #133

Draft
not_a_segfault wants to merge 12 commits from not_a_segfault/PowerTools:dev into dev
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 4816279f9e - Show all commits

View file

@ -1,2 +1,4 @@
pub mod gpu;
pub mod settings;
pub const APP_ID_UNKNOWN: u64 = u64::MAX;

View file

@ -51,7 +51,7 @@ impl From<OldSettingsJson> for FileJson {
Self {
version: LATEST_VERSION,
name: old_settings.name.clone(),
app_id: todo!(),
app_id: super::APP_ID_UNKNOWN, // `u64::MAX`, sentinel value.
variants,
}
}