public void NewPrefs(Prefs prefs) { open_close_reu(GlobalPrefs.ThePrefs.REUSize, prefs.REUSize); }
public abstract void NewPrefs(Prefs prefs);
//public void NewPrefs(Prefs prefs) //{ // // 1541 emulation turned off? // if (!prefs.Emul1541Proc) // close_d64_file(); // // 1541 emulation turned on? // else if (!GlobalPrefs.ThePrefs.Emul1541Proc && prefs.Emul1541Proc) // open_d64_file(prefs.DrivePath[0]); // // .d64 file name changed? // else if (GlobalPrefs.ThePrefs.DrivePath[0] != prefs.DrivePath[0]) // { // close_d64_file(); // open_d64_file(prefs.DrivePath[0]); // disk_changed = true; // } //} public void NewPrefs(Prefs prefs) { // 1541 emulation turned off? if (!prefs.Emul1541Proc) CloseD64File(); // 1541 emulation turned on? else if (!GlobalPrefs.ThePrefs.Emul1541Proc && prefs.Emul1541Proc) OpenD64File(prefs.DrivePath[0], prefs.DriveData[0]); // .d64 file name changed? else if (GlobalPrefs.ThePrefs.DrivePath[0] != prefs.DrivePath[0]) { CloseD64File(); OpenD64File(prefs.DrivePath[0], prefs.DriveData[0]); disk_changed = true; } }
public void NewPrefs(Prefs prefs) { open_close_joysticks(GlobalPrefs.ThePrefs.Joystick1On, GlobalPrefs.ThePrefs.Joystick2On, prefs.Joystick1On, prefs.Joystick2On); patch_kernel(prefs.FastReset, prefs.Emul1541Proc); TheDisplay.NewPrefs(prefs); TheIEC.NewPrefs(prefs); TheJob1541.NewPrefs(prefs); TheREU.NewPrefs(prefs); TheSID.NewPrefs(prefs); // Reset 1541 processor if turned on if (!GlobalPrefs.ThePrefs.Emul1541Proc && prefs.Emul1541Proc) { TheCPU1541.AsyncReset(); } }
public void NewPrefs(Prefs prefs) { open_close_renderer(GlobalPrefs.ThePrefs.SIDType, prefs.SIDType); if (the_renderer != null) the_renderer.NewPrefs(prefs); }
internal void NewPrefs(Prefs prefs) { //throw new Exception("The method or operation is not implemented."); }