CSPspEmu.Hle.Managers.HleIoManager.SetDriver C# (CSharp) Method

SetDriver() public method

public SetDriver ( string Name, IHleIoDriver Driver ) : void
Name string
Driver IHleIoDriver
return void
        public void SetDriver(string Name, IHleIoDriver Driver)
        {
            //Console.Error.WriteLine("SetDriver: {0}", Name);
            //Drivers.Add(Name, Driver);
            Drivers[Name] = Driver;
            try
            {
                Driver.IoInit();
            }
            catch (Exception Exception)
            {
                Console.Error.WriteLine(Exception);
            }
        }