Boot: Migrate to new filesystem interface

This commit is contained in:
Léo Lam
2018-05-10 22:34:03 +02:00
parent e6c489f1d4
commit a977a56434
3 changed files with 38 additions and 23 deletions
+6
View File
@@ -151,3 +151,9 @@ struct StateFlags
// Reads the state file from the NAND, then calls the passed update function to update the struct,
// and finally writes the updated state file to the NAND.
void UpdateStateFlags(std::function<void(StateFlags*)> update_function);
/// Create title directories for the system menu (if needed).
///
/// Normally, this is automatically done by ES when the System Menu is installed,
/// but we cannot rely on this because we don't require any system titles to be installed.
void CreateSystemMenuTitleDirs();