Ejemplo n.º 1
0
        public void InitializeDatabase(Switch device)
        {
            _filesystemClient = device.FileSystem.FsClient;

            // Ensure we have valid data in the database
            _database.Format();

            MountSave();
        }
Ejemplo n.º 2
0
        public void InitializeDatabase(HorizonClient horizonClient)
        {
            _horizonClient = horizonClient;

            // Ensure we have valid data in the database
            _database.Format();

            MountSave();
        }
Ejemplo n.º 3
0
        public void InitializeDatabase(Switch device)
        {
            _filesystemClient = device.FileSystem.FsClient;

            // Ensure we have valid data in the database
            _database.Format();

            // TODO: Unmount is currently not implemented properly at dispose, implement that and decrement MountCounter.
            MountCounter = 0;

            MountSave();
        }
Ejemplo n.º 4
0
 private void ResetDatabase()
 {
     _database = new NintendoFigurineDatabase();
     _database.Format();
 }