コード例 #1
0
        private void cmdPrepareSd_Click(object sender, EventArgs e)
        {
            FrmSelectDrive frmSelectDrive = new FrmSelectDrive(new DataSize(5000000UL));

            if (frmSelectDrive.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            GClass94.smethod_9(frmSelectDrive.driveInfo_0);
            GClass94.smethod_10(frmSelectDrive.driveInfo_0);
        }
コード例 #2
0
        public static void smethod_8(System.IO.DriveInfo driveInfo_0)
        {
            Alphaleonis.Win32.Filesystem.Path.Combine(driveInfo_0.Name, "apps", "nintendont", "boot.dol");
            string path = Alphaleonis.Win32.Filesystem.Path.Combine(driveInfo_0.Name, "nincfg.bin");

            GClass94.smethod_7(driveInfo_0);
            if (Alphaleonis.Win32.Filesystem.File.Exists(path) || RadMessageBox.Show("USB Helper was unable to detect the configuration file on your SD card. It is required to be able to play GC games. Would you like USB Helper to install it for you?", "Nintendont", MessageBoxButtons.YesNo) != DialogResult.Yes)
            {
                return;
            }
            GClass94.smethod_10(driveInfo_0);
        }