Exemple #1
0
        /// <summary>
        /// Performs a reboot of the system
        /// </summary>
        /// <param name="bootFlag"></param>
        public static void Reboot(BootFlag bootFlag)
        {
            switch (bootFlag)
            {
            case BootFlag.cold:
                xboxDebug.Reboot(YeloDebug.BootFlag.Cold);
                break;

            case BootFlag.warm:
                xboxDebug.Reboot(YeloDebug.BootFlag.Warm);
                break;
            }
        }
        void mnuReboot_Click(object sender, EventArgs e)
        {
            Xbox.Reboot(BootFlag.Warm);
            if (mnuMediumResolution.Checked)
            {
                Size = new Size(328, 317);
                renderWindow.Size = new Size(320, 245);

                Video = new XboxVideoStream(Xbox, XboxVideoStream.VideoSize.Medium, XboxVideoStream.VideoQuality.Regular, XboxVideoStream.VideoPresentationInterval.Two);
                Video.Begin();
            }
            else if (mnuFullResolution.Checked)
            {
                Size = new Size(648, 560);
                renderWindow.Size = new Size(640, 480);

                Video = new XboxVideoStream(Xbox, XboxVideoStream.VideoSize.Full, XboxVideoStream.VideoQuality.Regular, XboxVideoStream.VideoPresentationInterval.NoOverride);
                Video.Begin();
            }
        }
Exemple #3
0
 private void tsmi_reboot_active_Click(object sender, EventArgs e)
 {
     Xbox.Reboot(XDevkit.XboxRebootFlags.Warm);
 }
Exemple #4
0
 private void tsmi_reboot_title_Click(object sender, EventArgs e)
 {
     Xbox.Reboot(XDevkit.XboxRebootFlags.Title);
 }
Exemple #5
0
 private void tsmi_reboot_cold_Click(object sender, EventArgs e)
 {
     Xbox.Reboot(XDevkit.XboxRebootFlags.Cold);
 }