public static void RegisterVFS(VFSBase aVFS) { Cosmos.System.Global.Dbg.Send("VFSManager.RegisterVFS"); if (mVFS != null) { throw new Exception("Virtual File System Manager already initialized!"); } aVFS.Initialize(); mVFS = aVFS; }
protected override void BeforeRun() { Console.WriteLine("Cosmos booted successfully."); myVFS = new SentinelVFS(); VFSManager.RegisterVFS(myVFS); }